Not allowed to embed anymore?
#27
Administrator
Re: Not allowed to embed anymore?
Tech is now working on an AME video embed.
#29
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
I got it...I had the same problem and actually posted in the Tech side because I couldn't post a video on any forum. I tried posting a Overwatch game trailer and got a white space. The code is this....
iframe-disabled-disabled-disabled-disabled width="640" height="360" src="https://www.youtube.com/embed/FqnKB22pOC0?feature=player_embedded" frameborder="0" allowfullscreen></iframe-disabled-disabled-disabled-disabled>
Note...there is a "<" before iframe-disabled-disabled-disabled-disabled at the start....
I put the [y*] & [/y*] in front and behind the FqnKB22pOC0....erased everything else and it works.....(* is actually a "t")
iframe-disabled-disabled-disabled-disabled width="640" height="360" src="https://www.youtube.com/embed/FqnKB22pOC0?feature=player_embedded" frameborder="0" allowfullscreen></iframe-disabled-disabled-disabled-disabled>
Note...there is a "<" before iframe-disabled-disabled-disabled-disabled at the start....
I put the [y*] & [/y*] in front and behind the FqnKB22pOC0....erased everything else and it works.....(* is actually a "t")
#30
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
I spent about 5 hours today working on creating a modern Auto YouTube Embed mod for my vBulletin 3.8 board (though it should also work for 4.x boards), and I thought I would share it here. This is a simple way for bare YouTube URL's in posts to be automatically converted to embedded video.
What it detects/auto-converts:
It will only match on URL's that are in BB code [url] links. I tried to make it match non-linked URLs, but it was a bad idea because it wreaked havoc with BB code tags that might have YouTube URL's in them, like [code] or custom [youtube] tags.
By default, vBulletin auto-[url] links text that starts with www, http, or https. That means this will match most YouTube URLs that users might put in their post, but text like m.youtube.com/watch?v=XXXXXXXXXXX would not match, unless the user explicitly puts [url] tags around it, because vBulletin would not auto-link it.
It will handle both HTTP and HTTPS URLs
It will handle www, m, or no prefix.
It will handle youtu.be and youtube.com URLs. Besides .com, it will also handle de, jp, ca, co, ch, au, net, and be.
It will handle YouTube URL's in the following forms: watch?v=, v/, e/, embed/
It will not pass through parameters in the URL like "autoplay=1" or "loop=1" or, unfortunately, start times (t=4m3s, for example), but it will not be tripped up by them either.
What it outputs:
It outputs i-frame embedding code, which is the YouTube-preferred embedding method. This allows either the HTML5 player or Flash player to be used, depending on the browser's capabilities.
Fullscreen is enabled
16:9 embedded aspect ratio (700x394 pixels). If you want to change the size, simply edit the width and height in the XML file.
I also created a version of the mod that outputs the older Flash object embedding code which is deprecated as of 2015.
The mod can be downloaded from here:
http://www.vbulletin.org/forum/showp...8&postcount=68
What it detects/auto-converts:
It will only match on URL's that are in BB code [url] links. I tried to make it match non-linked URLs, but it was a bad idea because it wreaked havoc with BB code tags that might have YouTube URL's in them, like [code] or custom [youtube] tags.
By default, vBulletin auto-[url] links text that starts with www, http, or https. That means this will match most YouTube URLs that users might put in their post, but text like m.youtube.com/watch?v=XXXXXXXXXXX would not match, unless the user explicitly puts [url] tags around it, because vBulletin would not auto-link it.
It will handle both HTTP and HTTPS URLs
It will handle www, m, or no prefix.
It will handle youtu.be and youtube.com URLs. Besides .com, it will also handle de, jp, ca, co, ch, au, net, and be.
It will handle YouTube URL's in the following forms: watch?v=, v/, e/, embed/
It will not pass through parameters in the URL like "autoplay=1" or "loop=1" or, unfortunately, start times (t=4m3s, for example), but it will not be tripped up by them either.
What it outputs:
It outputs i-frame embedding code, which is the YouTube-preferred embedding method. This allows either the HTML5 player or Flash player to be used, depending on the browser's capabilities.
Fullscreen is enabled
16:9 embedded aspect ratio (700x394 pixels). If you want to change the size, simply edit the width and height in the XML file.
I also created a version of the mod that outputs the older Flash object embedding code which is deprecated as of 2015.
The mod can be downloaded from here:
http://www.vbulletin.org/forum/showp...8&postcount=68
#31
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
http://forum.dvdtalk.com/other-talk/...-week-268.html
If they implement the above auto-embedding, it should be easier though, and eliminate the inconsistency.
Last edited by TheBang; 04-26-16 at 09:38 PM.
#32
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
And based on my research today into the YouTube iframe embedding, the [yt] BB code on this board should be updated to the following:
I've implemented the above BB code on my board without issue.
Code:
<iframe width="700" height="394" src="https://www.youtube.com/embed/{param}" frameborder="0" allowfullscreen></iframe>
Last edited by TheBang; 08-18-16 at 05:43 PM.
#33
DVD Talk Legend
Thread Starter
Re: Not allowed to embed anymore?
Are we EVER going to get this resolved??? Getting tired of jumping through hoops to post a video, then not even being able to go fullscreen with it. I might as well just go to You Tube to see the fullscreen trailer, fuck trying to watch it here.
#34
DVD Talk Legend
Re: Not allowed to embed anymore?
Agreed...changes should be for the better, not worse.
#36
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
Just FYI, the youtube-autoembed mod I produced above, as well as the [yt] BB code enhancement I posted, have been working beautifully on my board for about 3 weeks now.
#37
DVD Talk Legend
#38
Administrator
Re: Not allowed to embed anymore?
TheBang, as is my understanding (not a tech guy), your solution won't work on DVDTalk, because we're now on an Autocomm version of it. However, they ARE working on working out the bugs of embedding YouTube.
#40
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
I don't know what "Autocomm" means. Still, looking at the product XML that I linked should still be quite helpful to the developers in crafting the solution. The substitution regex in there is a bit complicated, but solid and elegant for doing auto-embedding.
#42
DVD Talk Hall of Fame
Re: Not allowed to embed anymore?
OK, i just whipped up a BB code for vimeo. This is tested and working on my board, so if an Admin wants to put this into this site also, it'd work. Here are the settings:
Title: Vimeo
BB Code Tag Name: vimeo
Replacement:
Example: [vimeo]2619976[/vimeo]
Description: Use the movie code from the Vimeo URL in your browser. For example, https://vimeo.com/2619976
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies within this BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes
Title: Vimeo
BB Code Tag Name: vimeo
Replacement:
Code:
<iframe src="https://player.vimeo.com/video/{param}" width="700" height="394" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
Description: Use the movie code from the Vimeo URL in your browser. For example, https://vimeo.com/2619976
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies within this BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes
#43
DVD Talk Legend
Join Date: Aug 2006
Location: Behind the Orange Curtain
Posts: 20,085
Likes: 0
Received 6 Likes
on
6 Posts
Re: Not allowed to embed anymore?
Is this stupid shit EVER going to be fixed? I don't give two shits if we've found a workaround or whatever. There is a MAJOR problem on these boards. Fucking fix it. Jesus.
#49
DVD Talk Hero
Join Date: Feb 2005
Location: In the straps of boots
Posts: 27,984
Received 1,181 Likes
on
834 Posts
Re: Not allowed to embed anymore?
Testing YouTube embed (not YT BB code, but iframe)
<iframe width="560" height="315" src="https://www.youtube.com/embed/b3_lVSrPB6w" frameborder="0" allowfullscreen></iframe>
Testing Vimeo embed (iframe)
<iframe src="https://player.vimeo.com/video/53219652" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<p><a href="https://vimeo.com/53219652">RHINOS</a> from <a href="https://vimeo.com/user8187641">Scooby Two</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
edit: yeah... I'm gonna go with no. It's not working.
<iframe width="560" height="315" src="https://www.youtube.com/embed/b3_lVSrPB6w" frameborder="0" allowfullscreen></iframe>
Testing Vimeo embed (iframe)
<iframe src="https://player.vimeo.com/video/53219652" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<p><a href="https://vimeo.com/53219652">RHINOS</a> from <a href="https://vimeo.com/user8187641">Scooby Two</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
edit: yeah... I'm gonna go with no. It's not working.
#50
DVD Talk Godfather
Re: Not allowed to embed anymore?
It worked for me when I posted a video in the PC Gaming thread.
<iframe width="560" height="315" src="https://www.youtube.com/embed/vTUt8lmm_7s" frameborder="0" allowfullscreen></iframe>
But not anymore? Weird.
<iframe width="560" height="315" src="https://www.youtube.com/embed/vTUt8lmm_7s" frameborder="0" allowfullscreen></iframe>
But not anymore? Weird.