PDA

View Full Version : YouTube Videos on Photoblog


danzenie
07-01-2008, 09:33 PM
First of all let me apologize to all the purists. Yes I know pixelpost is a photoblog, and this functionality can be found in other blogging software, but because of its ease of use and simplicity I wanted to stick to pixelpost and find a way to show videos on it. I found this old post http://www.pixelpost.org/forum/showthread.php?t=4755 but that was getting a little too complicated for me. Instead I decided to add a separate page for my videos. Call it using index.php?x=videos and embed my YouTube there. But what if you have several videos? Then you can create a playlist on YouTube and use the embedded code that calls the playlist: My Account -> Videos -> Create Playlists. You can then use the code provided for the playlist in your new pixelpost page.

Example: http://vabrown.net/les/index.php?x=videos [FYI: this page is a test and wont be up for too long]

Hope this helps others

Smartphoner
07-02-2008, 08:47 AM
Good !! Please explain how you embed the code of Youtube.

Crossie
07-02-2008, 09:03 AM
That's a really nice idea. It would be even nicer if one could insert videos in the regular photo stream via backend, for some videoblogging/screencasts f.ex.. But to handle it with an extra page is ok too, if the visitors take care of the extra menu-item ;).

Despite these wishes it's needless to say that I do respect the viewpoint of the developement team to operate PP as a pure photoblog, and not a multimediablog.

Regards
Uwe

danzenie
07-02-2008, 03:32 PM
Good !! Please explain how you embed the code of Youtube.

Smarterphone, I simply copied the about_template.html file and named it videos_template.html. I opened the new file in my favorite editor, took out the html I didn't care for, and added the YouTube code. Again, this code you get after you create a YouTube playlist. It should be easy to find in the YouTube admin backend (My Account -> My Videos -> Create PLaylist.

Here is my code sample straight from YouTube:

<object width="480" height="385"><param name="movie" value="http://www.youtube.com/p/1150346787493FDA"></param><embed src="http://www.youtube.com/p/1150346787493FDA" type="application/x-shockwave-flash" width="480" height="385"></embed></object>

You can also see it on the example link of my first post

jaywilliams
07-02-2008, 09:36 PM
That's a really nice idea. It would be even nicer if one could insert videos in the regular photo stream via backend, for some videoblogging/screencasts f.ex..
[...]
Despite these wishes it's needless to say that I do respect the viewpoint of the developement team to operate PP as a pure photoblog, and not a multimediablog.

True, although Pixelpost probably won't ever offer this by default, there is nothing stopping someone who is handy with PHP from creating an addon that could allow this.

Remember, anything is possible with addons. ;)

militops
07-04-2008, 07:50 AM
Thanks for your codes.