javascript - js flv player fullscreen option - Stack Overflow

I am developing my custom video control using jquery, javascript. for that i choose js flv player wit

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
Add a ment  | 

3 Answers 3

Reset to default 4 +25

As 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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745226806a4617498.html

相关推荐

  • javascript - js flv player fullscreen option - Stack Overflow

    I am developing my custom video control using jquery, javascript. for that i choose js flv player wit

    5小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信