Full screen in embedded youtube videos not working

Winter sport ecommerce template for Joomla with VirtueMart support
GK User
Sat Apr 05, 2014 5:54 pm
Hi. I have embedded youtube videos on two Gavick sites, and the full screen button does not work on any of the sites. I have tried embedding the same embed code on other non-Gavick sites and the full screen button is working.

Here is the code

Code: Select all
<object width="634" height="357"><param name="movie" value="//www.youtube.com/v/xtKTpWIowu4?version=3&amp;autoplay=1;rel=0&amp;modestbranding=1;hl=nb_NO"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/xtKTpWIowu4?version=3&amp;autoplay=1;rel=0&amp;modestbranding=1;hl=nb_NO" type="application/x-shockwave-flash" width="634" height="357" allowscriptaccess="always" allowfullscreen="true"></embed></object>


This is where it is embedded: http://almadinah.no/seminarer/kommende- ... roken-home
User avatar
Gold Boarder

teitbite
Sun Apr 06, 2014 10:28 am
Hi

That's really interesting. Ive never seen flash player affected by website code ;/ Please prepare me a page with a different template where this works, so I'll compare them and probably will be able to tell how to fix it.
User avatar
Moderator

GK User
Sun Apr 06, 2014 9:58 pm
Hi. I have embedded the exact same code here: http://www.islamnet.no/om-oss/om-oss/23 ... roken-home

As you can see the full screen button works fine here.

Here is another Gavick site where I have embedded a video, and as you can see the same problem is there: http://www.peaceconference.no/speakers/ ... im-kempson
User avatar
Gold Boarder

teitbite
Mon Apr 07, 2014 9:21 pm
Hi

I can see it's not working in our templates, but that's just a coinsidence. I think the problem is with one of the 3rd party extentions loaded along with site. In code I can see some strange iframes which are not visible in the working site. But lets make some small test and remove our template from the equasion and use the component template which shows content without template at all. http://www.peaceconference.no/speakers/ ... =component as You can see video is still not working and as I've mentioned before the strange iframe is still visible. Anyway the search for a fix to it may be a big headache, please try to use an iframe version of the video embed code, something like:

Code: Select all
<iframe width="420" height="315" src="//www.youtube.com/embed/orWsCe-q4k0" frameborder="0" allowfullscreen></iframe>
User avatar
Moderator

GK User
Tue Apr 08, 2014 9:48 am
The new code you gave does not work with Editor TinyMCE. I have to turn off the editor and turn it back on after adding the video, and afterwards I cannot edit the article again wthout the video disappering if I want to use TinyMCE.
User avatar
Gold Boarder

teitbite
Tue Apr 08, 2014 9:15 pm
Hi

Yes, that's a drowback, but it's not the only way to add video to article. Please maybe use AllVideo Plugin. This will use iframe, but from a code which will not be stripped by joomla from editor.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.