Video Custom Controls

Q&A about the latest versions
Post Reply
User avatar
Isaac Brown
Posts: 77
Joined: Tue Jun 13, 2017 12:55 pm
Location: Australia

Hi all,
Is there a way to target a video that is placed in the skin so that when i mouse click a button in the skin it makes the video toggle fullscreen?

Thanks
Isaac / IBCreative
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Yes.

Here's an example with a YouTube video. https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

If the video is playing and the fullscreen button is selected the video expands to fullscreen, if the fullscreen is already active and the video is played it plays as fullscreen.

Simply add a logic block to the "video_popup_close_"type of video" element that sets the element size to 100% whenever 'Fullscreen' is = true.

fullscreen-video.jpg
fullscreen-video.jpg (669.05 KiB) Viewed 988 times

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Isaac Brown
Posts: 77
Joined: Tue Jun 13, 2017 12:55 pm
Location: Australia

Ah! I wasn’t looking at it this way. I was trying to actually find a way to configure the native HTML video controls. I’ll give this a try. Thanks a bunch Tony.
Isaac / IBCreative
Post Reply