Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
K4RL Posted August 17, 2015 Posted August 17, 2015 When embedding by URL how come you can not make Youtube go full screen?Kinda seems a bit daft not to be able to enable it?
Netherlord Posted August 17, 2015 Posted August 17, 2015 When embedding by URL how come you can not make Youtube go full screen?Kinda seems a bit daft not to be able to enable it?I stopped asking this question long ago. But then i always had issues with the embeds and images and videos and twitter and facebook etc etc. Massive sizes. Full width video embeds that just look horrible.But at one point when i used to use full width videos in the first week of this software the fullscreen button did appear. So maybe its down to the video embed size?
K4RL Posted August 17, 2015 Author Posted August 17, 2015 I have a rather neat little database driven system for a website I am building but the videos are small to fit in blocks, sadly there is no option to make them full screen. Seems a bit silly to not have full screen video in this day and age.I am assuming the abilty on the video player is being restricted via the iframe?Does anyone know where the code for it is kept?
K4RL Posted August 18, 2015 Author Posted August 18, 2015 Looked all over the code to find where the iframe formatting stuff is for youtube and can't find it. Anyone got a clue where its kept?
craigf136 Posted August 18, 2015 Posted August 18, 2015 <div class='ipsEmbeddedVideo {{if \IPS\Settings::i()->max_video_width > 0}}ipsEmbeddedVideo_limited{{endif}}' contenteditable="false"><div><iframe id="ytplayer" type="text/html" {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} src="$url" frameborder="0"></iframe></div></div>Customisation / Theme / Edit HTML/SS / CMS / Global / YoutubeI think adding this would work "allowfullscreen" (without the quotes).<div class='ipsEmbeddedVideo {{if \IPS\Settings::i()->max_video_width > 0}}ipsEmbeddedVideo_limited{{endif}}' contenteditable="false"><div><iframe id="ytplayer" type="text/html" {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} src="$url" frameborder="0" allowfullscreen></iframe></div></div>or <div class='ipsEmbeddedVideo {{if \IPS\Settings::i()->max_video_width > 0}}ipsEmbeddedVideo_limited{{endif}}' contenteditable="false"><div>{$html|raw}</div></div>Customisation / Theme / Edit HTML/SS / Core / Global / VideoNot 100% certain on this, but it's what I found with a quick search.
craigf136 Posted August 18, 2015 Posted August 18, 2015 Actually, I have fullscreen videos on 4.0.12.1 - ignore above.
K4RL Posted August 18, 2015 Author Posted August 18, 2015 Craig you are a star, I would have never thought to look in the CMS bit as I thought it would have been a core part of the code as it is used in several places. I am in your debt.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.