Page 1 of 1
Youtube block
Posted: 2. December 2012 21:54
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...
Re: Youtube block
Posted: 2. December 2012 22:53
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.
Re: Youtube block
Posted: 3. December 2012 20:35
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 ??
Re: Youtube block
Posted: 3. December 2012 23:20
by archivar
See
here for a short time a "custom block" with 3 videos, created with BBCode.
You can also use html code.
Re: Youtube block
Posted: 4. December 2012 16:17
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
Re: Youtube block
Posted: 4. December 2012 19:33
by archivar
In this problem, I can not help them, unfortunately.
Re: Youtube block
Posted: 30. December 2012 16:05
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...
Re: Youtube block
Posted: 27. February 2013 14:32
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
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]
Re: Youtube block
Posted: 27. February 2013 17:25
by urednik
GREAT !!
Better than I think - THNX !!
Re: Youtube block - playlist
Posted: 27. February 2013 17:30
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.