YouTube playlist BB code not working on Mobile

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Anti-Spam Guide
Post Reply
Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

YouTube playlist BB code not working on Mobile

Post by Tom49er »

I use YouTube playlist BB code. It worked perfectly on 3.0.X. After I upgrade 3.1.6, it's not working on Mobile.

My forum has a lot series movies. How to make it work please or any extension please?

User avatar
Lumpy Burgertushie
Registered User
Posts: 67236
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: YouTube playlist BB code not working on Mobile

Post by Lumpy Burgertushie »

need more detail.

what bbcode is this?

most bbcodes that worked in 3.0 will work just fine in 3.1

post the exact bbcode and html replacement that you are using.


etc. etc


details. examples etc.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: YouTube playlist BB code not working on Mobile

Post by Tom49er »

Hi,

Code: Select all

[YTPlaylist]{TEXT1}youtube.com/watch?v={SIMPLETEXT}{TEXT2}&list={SIMPLETEXT2}[/YTPlaylist]

Code: Select all

<object width="540" height="400"><param name="movie" value="https://www.youtube.com/v/{SIMPLETEXT}&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="https://www.youtube.com/v/{SIMPLETEXT}&list={SIMPLETEXT2}&hl=en&fs=1" type="application/x-shockwave-flash" allowFullScreen="true" width="540" height="400"></embed></object>

Code: Select all

[YTPlaylist]URL[[/YTPlaylist]
It worked perfectly on 3.0. x . Now only works on desktop not on Mobile.

User avatar
Lumpy Burgertushie
Registered User
Posts: 67236
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: YouTube playlist BB code not working on Mobile

Post by Lumpy Burgertushie »

that embed code is the old style and I am surprised that it still works. youtube said they would discontinue it several years ago.

anyway, here is how I got it to work.

bbcode;

Code: Select all

[tubelist]{TEXT}embed/{IDENTIFIER}?list={IDENTIFIER2}{TEXT2}[/tubelist]
html replacement:

Code: Select all

<style>
.video-wrapper {
	width: 640px;
	max-width: 100%;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
</style>


<div class="video-wrapper"><div class="video-container"><iframe width="640" height="385" src="http://www.youtube.com/embed/{IDENTIFIER1}?list={IDENTIFIER2}"frameborder="2"></iframe></div>
</div>
tip:

Code: Select all

use the complete playlist embed iframe code.
you can see it in action here:
http://phpbbusers.com/3.1/viewtopic.php?f=2&t=76

check it on your desktop and on your phone/etc.

luck,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: YouTube playlist BB code not working on Mobile

Post by Tom49er »

Thanks a lot. I should ask you earlier. I had been looking for over a month, but I could not find one that worked.

User avatar
Lumpy Burgertushie
Registered User
Posts: 67236
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: YouTube playlist BB code not working on Mobile

Post by Lumpy Burgertushie »

I had to go find out how to make youtube video players responsive then just edited my iframe youtube bbcode with the css etc.


glad it helps.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

Re: YouTube playlist BB code not working on Mobile

Post by Tom49er »

Hi,
This embed works well, but when I share the link on FaceBook. It shows all the YouTube embedded code and wrong image . That looks so ugly

User avatar
Lumpy Burgertushie
Registered User
Posts: 67236
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: YouTube playlist BB code not working on Mobile

Post by Lumpy Burgertushie »

share what link on FB? the link to the post with the youtube playlist in it?

this is not going to be a problem with phpbb or the bbcode but rather a problem with how FB deals with links etc.
there may be a problem with how you have added things to phpbb to make it work on FB etc.

by default, phpbb does not have anything that has to do with facebook.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?

Tom49er
Registered User
Posts: 133
Joined: Sat Jun 07, 2014 4:51 am

YouTube playlist BB code not working on Mobile

Post by Tom49er »

Hi,
I think one of the extension causes the problem. Before when I copy my website URL and paste to FB timeline. It shows the title and the link. Now it shows all the iframe embedded code.

Post Reply

Return to “Extension Requests”

cron