For several years I have used a BBcode I got off this Forum to allow my users to embed their videos in their posts. Basically they copy a section of the YouTube URL into their post, and put a tag around it. Example:https://www.youtube.com/watch?v=iyMjyGAj8Ao, they would use the sequence after =, paste that into their post, put a BBcode tag around it, which would embed the video. Three days ago it stopped working. I have hundreds of videos on my message board, and they have all been blacked out. Any idea what happened or how to correct it?
Announcement
Collapse
No announcement yet.
BBcode for embedding YouTube videso
Collapse
X
-
Edit the template bbcode_template and replace the youtube sections with:
Code:<vb:elseif condition="$provider == 'youtube'" /> <iframe width="640" height="385" src="https://www.youtube.com/embed/{vb:raw code}" frameborder="0" allowfullscreen></iframe> <vb:elseif condition="$provider == 'youtube_share'" /> <iframe width="640" height="385" src="https://www.youtube.com/embed/{vb:raw code}" frameborder="0" allowfullscreen></iframe>
Comment
-
Originally posted by DrRalph View PostFor several years I have used a BBcode I got off this Forum to allow my users to embed their videos in their posts. Basically they copy a section of the YouTube URL into their post, and put a tag around it. Example:https://www.youtube.com/watch?v=iyMjyGAj8Ao, they would use the sequence after =, paste that into their post, put a BBcode tag around it, which would embed the video. Three days ago it stopped working. I have hundreds of videos on my message board, and they have all been blacked out. Any idea what happened or how to correct it?
I'm using this mod: http://www.vbulletin.org/forum/showthread.php?t=130868
I know is old, but never had any problems before.
Comment
-
I'm having exactly this issue over on my site (www.pinkfishmedia.net) and it seems to have happened in the past three days. The only change I have made to the site recently is upgrading from 3.8.9 to 3.8.9PL1, but that was a week or so ago now. Any help as to a fix would be greatly appreciated.
Comment
-
Originally posted by DrRalph View PostFor several years I have used a BBcode I got off this Forum to allow my users to embed their videos in their posts. Basically they copy a section of the YouTube URL into their post, and put a tag around it. Example:https://www.youtube.com/watch?v=iyMjyGAj8Ao, they would use the sequence after =, paste that into their post, put a BBcode tag around it, which would embed the video. Three days ago it stopped working. I have hundreds of videos on my message board, and they have all been blacked out. Any idea what happened or how to correct it?
Originally posted by Ipuck View Post
Did you find the solution? I'm having the same problem.
I'm using this mod: http://www.vbulletin.org/forum/showthread.php?t=130868
I know is old, but never had any problems before.
Comment
-
-
Originally posted by Paul M View PostThat post is 10 years old.
Youtube appear to have discontinued support for that method.
I know the mod is very old and unfortunately there is no longer supported, but many of us have the same problem. Would it be possible for you to take a quick look at the code and check if there is something simple we can do? I'll really appreciate that.
Here is mod I'm using: http://www.vbulletin.org/forum/showthread.php?t=130868
Comment
-
Originally posted by Ipuck View PostHere is mod I'm using: http://www.vbulletin.org/forum/showthread.php?t=130868
Code:<object width="425" height="355" type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}"> <param name="movie" value="http://www.youtube.com/v/{param}" /> <param name="wmode" value="transparent" /> <em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em> </object>
Code:<iframe width="425" height="355" src="http://www.youtube.com/embed/{param}?rel=0" frameborder="0" allowfullscreen></iframe>
- Likes 1
Comment
-
Related Topics
Collapse
-
by hienntpHello,
How to add bbcode youtube in forum, i use vbulletin 5.
Thanks!-
Channel: Support Issues & Questions
Fri 9 Sep '16, 2:08am -
Comment