Youtube block

Post Reply
User avatar

Topic author
urednik
Active Member
Posts: 33
Joined: 25. April 2008 17:44

Youtube block

Post by urednik »

Hello,
I have a lot of Youtube videos on my chanel. All of them are included in post in my site.

Is there possible to make block, which will show my last 3 or last 1 video from my Yutube chanel ?

I read API instructions from Youtube, but ... Can't understand them... But someon who is coder will know and understand...
As I read this is easy to do.

LINK: https://developers.google.com/youtube/2 ... ingUploads

Hope, that you undertand what I wish... Idea is super, but I don't have enought knowlag to make it alive...

THNX in advance...
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Youtube block

Post by archivar »

You can do so using the "own block."
BBCode they can integrate with their videos in the "own block."
Please Inquire for BBCode according to phpBB.com.
V.G. archivar
sorry for my bad english
User avatar

Topic author
urednik
Active Member
Posts: 33
Joined: 25. April 2008 17:44

Re: Youtube block

Post by urednik »

Yes, I have BBC code for video - but only one can be implemented.

I wish that LAST 3 added Youtube video is on board first page. (Portal page)
This I think that can't be done by BBC ? OR it is possible ??
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Youtube block

Post by archivar »

See here for a short time a "custom block" with 3 videos, created with BBCode.
You can also use html code.
V.G. archivar
sorry for my bad english
User avatar

Topic author
urednik
Active Member
Posts: 33
Joined: 25. April 2008 17:44

Re: Youtube block

Post by urednik »

Nice test board, specialy picture gallery prewiew....

But back to my problem.

I know how to make Youtube as you show me.
You pick thee video and put it into bbc kode. That I do in my post.

But this videos are always the some - Those you pick up.

But when I upload new video to my channel in Youtube, then I must pick another three videos.... manualy.

Youtube have option, that you cna implement your channel into your site - description link is in my first post.

So my portal show wideo from last three days, but when i upload NEW video to Youtube, the code automaticly change the oldest video with the new one, etc...
So there is no need to change BBC code any more, each time portal is loaded, the script show latest video from my channel in youtube.

LINK to my channel - http://www.youtube.com/user/urednik123 -
You can see latest video and below history of my upload, videos to the oldest one ...

Hope that you understand.

Can you do this ? Is this possibel? I think yes, so any idea ?

Until then - manualy - see output http://www.borovnica.eu/2012/portal.php
User avatar

archivar
Portal Professional
Posts: 1959
Joined: 19. April 2009 21:34
phpBB.de User: archivar
phpBB.com User: archivar
Location: Deutschland

Re: Youtube block

Post by archivar »

In this problem, I can not help them, unfortunately. :oops:
V.G. archivar
sorry for my bad english
User avatar

Topic author
urednik
Active Member
Posts: 33
Joined: 25. April 2008 17:44

Re: Youtube block

Post by urednik »

I have idea... Is it possible to make this with RSS FEED ?

This is maybe one of the suggestions for mew block, which can be useful...

ShocK
Active Member
Posts: 9
Joined: 17. January 2012 22:47
Contact:

Re: Youtube block

Post by ShocK »

You could do this by using a bbcode playlist, this means everytime you add a video to your playlist in youtube it will automatically be added on your portal

BBCode usage

Code: Select all

[Yplaylist]{INTTEXT}[/Yplaylist]
HTML replacement

Code: Select all

<embed id="ci_63736_e" type="application/x-shockwave-flash" src="http://apps.cooliris.com/embed/cooliris.swf?t=1307582197" width="640" height="340" allowFullScreen="true" allowScriptAccess="always" bgColor="#121212" flashvars="showsearch=true&feed=http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fapi%2Fplaylists%2F{INTTEXT}&numrows=2" wmode="opaque"></embed>
Help line

Code: Select all

[yplaylist]playlist id here[/yplaylist]
Image
User avatar

Topic author
urednik
Active Member
Posts: 33
Joined: 25. April 2008 17:44

Re: Youtube block

Post by urednik »

GREAT !!

Better than I think - THNX !!
User avatar

Topic author
urednik
Active Member
Posts: 33
Joined: 25. April 2008 17:44

Re: Youtube block - playlist

Post by urednik »

Sollution is here: viewtopic.php?f=23&t=9406&p=33143#p33143

Short way is:
- create custom block
- put inside code:

Code: Select all

<center>    <embed id="ci_63736_e" type="application/x-shockwave-flash" src="http://apps.cooliris.com/embed/cooliris.swf?t=1307582197" width="640" height="340" allowFullScreen="true" allowScriptAccess="always" bgColor="#121212" flashvars="showsearch=true&feed=http%3A%2F%2Fgdata.youtube.com%2Ffeeds%2Fapi%2Fplaylists%2F{INTTEXT}&numrows=2" wmode="opaque"></embed></center>
Vhere "{INTTEXT}" is your playlist . last added or any other playlist.
Post Reply

Return to “Modification Requests”