Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

not possible to embed YouTube videos

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

hello

For some reason I have serious problems with embedding YouTube videos. Weir enough I can embed vimeo videos but not Youtube videos.

What could be the reason?

Chris
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Chris,

Is the code getting stripped from the articles? Sounds strange that the editor would strip Youtube and not Vimeo.

Perhaps disable the editor and try embedding the code that way.
Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hello Anthony

That makes no difference.
It is a weird problem and it affects different browsers and different platforms in different ways.
Since I need my website up and running I uploaded the videos I need to my server. But I will try to embed YouTube videos again soon.

using Allvideos to embed YouTube videos is also problematic.

Chris
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
Are you using the embed code from the youtube video in question?

If using the JCE editor you can enable iframes in the global config - not sure why Vimeo should be different

The interface might be different depending on the joomla version - also the JCE version is slightly different than the link below

joomlaboy.com/tutorials/joomla/47-iframe-youtube-video-in-joomla-jce-editor

Hope this helps

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Chris
thing is that when I make a similar article on one of my other Joomla3 websites (same host, same php settings etc), with other template (Joomlart) none of these issues appear: I can embed whatever I want whereever I want in any article, using new and old code.
To include iframe code I cannot use an editor, that is the same.

Chris
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
also: when I view the moments live demo on the JoomlaBamboo site the video and audio an the home page don't show in many browsers on different platform.
I can't see the media files when I use IE8.
There is just something not right with embedding media in the Moments template.
Attachments:
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Is that on an IE8 version running in standards mode in a browser?

I've just viewed in Browserstack and I can see the video in there

Can you advise what other browsers you have a problem viewing the video in so we troubleshoot them?

Also can you point me to the video you are trying to embed and I can try adding it to a quickstart version

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
This might be a flash security problem and sometimes affects firefox.

You can try forcing youtube to use html5 mode by adding ?html5=1 to the end of your src. Like this
<iframe width="560" height="315" src="//www.youtube.com/embed/xxxx?html5=1" frameborder="0" allowfullscreen></iframe>

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Hello Rob and Paul

it seems it the problem occurs in IE8 and firefox, Chrome and also sometimes on Safari IPad.
I am not going to bother about problems in IE8 anymore because it is a worthless browser. But I would like to have the site function well when viewed with the other browsers..

embedding iframes results in videos that don't show at all. When I use old code: then on my IPad I see white space where the video should be, Firefox same, chrome however shows the video when the old code is used (not the new code)

In IE9 everthing works perfect.

frustrating problem I must say.

Best regards
Chris
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Chris,

And did you try my fix suggested above?

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Hello Rob

Yes I did try that but it did not have any effect.

Thanks
Chris
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Chris,

I can see you have opened a ticket so it is perhpas now best to work there and in the one place

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
it is, thank you for your reply to my post on the forum.

Best regards
Chris
  • Chris's Avatar
  • Chris
  • 12 Month basic
  • 45 posts
  • Karma: 0
The administrator has disabled public write access.
no problem
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi

Was there a solution to this problem?

I have the same problem with embedding youtube videos, exept for me they don't show up in firefox (22.0) if I embed them inside or at the bottom of an article.

I did want to embed them at the top like in the demo and that started working when I added the ?html5=1 at the end of the youtube address. Then the problem is the video sticking out of it's column in the Blog layout. How to fix that?

I have the editor off so the code is not getting corrupted. If I switch to any of the other standard templates that come with 3.1 everything works perfectly. The is only a problem when I use the Moments template. Joomla and T3 was updated this morning but this did not change.
  • pallgudjonsson's Avatar
  • pallgudjonsson
  • 3 Month Basic
  • 13 posts
  • Karma: 0
The administrator has disabled public write access.
Hi,

Can you please try replacing this file with the one in the attached zip.

/templates/moments/html/com_content/article/default.php

It should fix the problem for you.

Regards,

Rob
Attachments:
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Thank you.
This file did fix one problem. Now I can see and play the youtube videos both in article layout and blog layout but I have to add the ?html5=1 to the video URL - could be simpler.
The other problem is that the videos are not confined to the columns in the blog layout and stick out in their iframe size, however I try to manipulate the size in the code or even remove the width and height.

I have a clean install of Joomla 3.1 updated to the latest version with articles migrated from an older site with spupgrade.
  • pallgudjonsson's Avatar
  • pallgudjonsson
  • 3 Month Basic
  • 13 posts
  • Karma: 0
The administrator has disabled public write access.
Hi paul,

Sounds like Fitvids is misconfigured.

Can you post a link so we can see what the issue is?

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
HI
It's a work in progress, temporarily located here: nyttlook.pallskulason.is/
I'm still reorganizing the material and including actual videos instead of links. I like this template and would like to make it work for this project.
Thanks
  • pallgudjonsson's Avatar
  • pallgudjonsson
  • 3 Month Basic
  • 13 posts
  • Karma: 0
The administrator has disabled public write access.
Would it be also possible to paste the source code you've added for this example?

thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers