Comments (6)
I took a look in the code and saw the .wav check, so I installed this. Works in a browser or Android devices, does not work on iOS at all, regardless of browser - embedded HTML5 player issues on iOS I assume.
Anyone have a cross-platform solution? Should I plug jplayer or something in there instead?
from attachment_preview.
Probably going to have to file_put_contents() the /help/file.php? request for this to work as a src value on iOS.
from attachment_preview.
Hey mate, don't have any iOS devices to test with so I've not encountered that issue, is it all attachments or just audio? There might be a permission you need to enable for Chrome or Safari for it to play.. Not sure, it's been a while since I've seen one.
from attachment_preview.
No worries, it's because iOS decided programmatic audio sources are a security risk I guess - I found that OSTicket has some optional core plugins and one of them will place attachments in the filesystem instead of the database and I'm guessing that will allow iOS to play them. I'll post back here with results on the weekend or Monday my time.
from attachment_preview.
Hmm, that's not what that means, the front-end is the same. It just means the files aren't stored in the DB or S3 etc. Still uses the same file.php adapter.
from attachment_preview.
Late update, you are correct, the file system plugin does not change the way the file is served (via the file.php script). So the answer is a rewrite to a temp file I guess? Or figuring out what exactly iOS errors out on via the current method...
from attachment_preview.
Related Issues (20)
- OSTicket v1.12 (a076918) Task functionality HOT 5
- attachment_preview breaks jQuery HOT 7
- enable attachment_preview break display delete button HOT 4
- Can You Add Vimeo Video Support Too? HOT 2
- OSticket 1.14 Support HOT 6
- Just want to say: thanks HOT 1
- I see duplicates
- EML file attachments HOT 1
- Printing as ZIP results in malformed ZIP HOT 3
- Issue with audio attachments HOT 5
- Plugin Order needs to be correct for other plugins HOT 3
- Should this be working in 1.15? HOT 1
- Plugin not working on v1.16.1 HOT 24
- Hide /Show buttons disappeared in osTicket 1.16 version + PHP 8.0 HOT 1
- PDF preview stop working on v1.17 with PHP8.0 or PHP8.1 HOT 8
- Support for osTicket 1.17? HOT 2
- Brower Compatibility (osTicket v1.17 PHP8.0 with attachment_preview plugin ) HOT 9
- Support to EML file
- JPEG attachments will not showed inline with OSticket 1.17.2 --- PDF is working fine HOT 6
- Plugin no longer works on osTicket 1.18 HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attachment_preview.