How to play uploaded videos in an iframe on a Mac system

 ̄綄美尐妖づ 提交于 2021-02-11 18:07:26

问题


I have tried using iframe and also video tag and object tag to play the video. In some cases, it plays only the audio from the video, but video doesn't show up. Secondly, the same video file plays well on a separate tab in the browser, but not within my iframe. This issue is on all browsers on my Mac, but on a windows machine it plays well.


回答1:


I finally found it. Apple has a good documentation of its own for this. https://developer.apple.com/library/mac/documentation/quicktime/conceptual/qtscripting_html/QTScripting_HTML_Document/ScriptingHTML.html#//apple_ref/doc/uid/TP40001525-2-GettingaBrowsertoLoadQuickTime

I simply had to use the embed tag properly as they have explained.



来源:https://stackoverflow.com/questions/20327840/how-to-play-uploaded-videos-in-an-iframe-on-a-mac-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!