admin管理员组文章数量:1415145
I am developing my custom video control using jquery , javascript. for that i choose js flv player without any control bar, so I almost developed its control bar and all the option using its listner javascript object, but now there is no full screen method in that js flv player.
any body know how can I control the full screen option, I am using the following flv player
flv-player
I am developing my custom video control using jquery , javascript. for that i choose js flv player without any control bar, so I almost developed its control bar and all the option using its listner javascript object, but now there is no full screen method in that js flv player.
any body know how can I control the full screen option, I am using the following flv player
flv-player
Share Improve this question edited Mar 8, 2017 at 12:10 Pir Abdul asked Mar 23, 2011 at 6:40 Pir AbdulPir Abdul 2,3541 gold badge28 silver badges35 bronze badges 4- any help, would be appriciated – Pir Abdul Commented Mar 23, 2011 at 9:24
- Did you ever get anywhere with this, I too am having the same issue.. I thought about sending the key press F but this only works in IE... – Paul Commented Jun 22, 2011 at 9:57
- yes, i my case when user click full screen ,i expand div to full screen – Pir Abdul Commented Jun 22, 2011 at 9:59
- 1 You should write your answer for IE below. your answer will be wele – Pir Abdul Commented Jun 22, 2011 at 10:00
3 Answers
Reset to default 4 +25As per their FAQs:
Fullscreen only works with Flash Player newer than 9.0.16.
It is controlled by showfullscreen
option which clearly mentions that it only works with Flash v9.0.16 or higher.
An alternative is to switch to FlowPlayer plugin. I've used it in a current project with great success. It provides many more options and supports mobile devices too (iPad etc).
Here's a Flowplayer demo for switching to fullscreen: Forcing to view the video in fullscreen mode
Another one: Custom Fullscreen action with overlay
The best player to use would be videojs. Really flexible. I have used it in one of my projects and i would remend this for you. Got a full screen option by default. Uses js and no flash needed at all.
DEMO: http://so.devilmaycode.it/js-flv-player-fullscreen-option/
NOTE: as explaned by the author of the FLash Player here
- Fullscreen only works with Flash Player newer than 9.0.16.
- Fullscreen is not patible with wmode transparency.
so we can at least simulate the full screen for those that not support it by using the $(document)
width / height ( or whatever you want ) to fix the player size: and make use of the wmode
property; this way you can use CSS position
and z-index
to display the controls over the flash player.
UTILS: Detecting Flash Player versions and embedding SWF files with SWFObject
本文标签: javascriptjs flv player fullscreen optionStack Overflow
版权声明:本文标题:javascript - js flv player fullscreen option - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745226806a2648644.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论