Hi
I couldn't display the fullscreen toggle for video in jplayer module installed in Drupal 7. I guess its not available yet.
I saw that its working in demos on official site http://jplayer.org/.
So I tried to look in modules code, but I couldn't figure out how to add it.
Can you help me to figure it out. How I can add this fullscreen toggle for video.
I really need it for my project.

Comments

drupalshrek’s picture

I would love to have this too.

butteryak’s picture

Issue summary: View changes

yup, curious about this as well, wondering if anyone found a way to get this to work?

markie’s picture

I think you would just have to tweak the tpl file to add the necessary div (with class) to show the button.

butteryak’s picture

yeah, I did that, it does open up into a full screen, but the window comes up blank. and the controls are centered on the page, css issue? not sure.... I did manage to find a chunk of javascript that will open a video on a page into fullscreen. bit of a hack perhaps. I noodled around with jplayer for a bit to get the button working, this was my faster easy solution. I've not explored it entirely yet, to see if there are any use case scenarios where this won't work though. different browsers, file types, etc.

markie’s picture

Category: Feature request » Support request

Yes you would need to add custom css to the file to make it work properly, using the demo as a guide. I have added a patch on this thread (https://www.drupal.org/node/2485867) that will allow for insertion of custom css and JS for your player.

kavithasethu’s picture

I would love to have this working too . Can anyone guide me how to do this ? Is this a feature that will be added to jplayer module at some point ?

Please let me know.

Thanks,
Kavitha.