TinyPortal

Development => Block Codes => Topic started by: FUBAR on August 25, 2008, 08:38:10 AM

Title: [Block] Embed Youtube Video with High Quality
Post by: FUBAR on August 25, 2008, 08:38:10 AM
When you embed Youtube videos into websites they are defaulted with Standard Quality. 
If you want to embed a Youtube video with High Quality use the following website. 

Embed Code Generator for High Quality YouTube Videos (http://www.twittervlog.tv/high-quality-youtube-embed-generator.html)

Only paste in the ending ID code of the YouTube URL that appears in the address bar.

So if it looks like this:
http://youtube.com/watch?v=YpQ-R8ueK88&hl=en

then you should only paste YpQ-R8ueK88 in the box and ignore everything before and including the v= and ignore everything after and including any & and make sure there is no space at the end.

Then click 'Create Code' and copy & paste the resulting embed code in a script box in Tiny Portal.

Hope this helps someone.  :)
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: FERNSIDEâ„¢ on September 23, 2008, 09:31:12 PM
Thanks for the share mate  :)
I didnt notice any difference in the quality, but that maybe due to the clip being of poor quality in the first place lol

Cheers
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: FUBAR on September 23, 2008, 10:02:12 PM
The video has to be high quality for this to work.  ;)

If you go to YouTube and find a video with the High Quality option on the lower right corner of the player; it will work with those.
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: FERNSIDEâ„¢ on September 23, 2008, 10:17:59 PM
Oh right, Ive never seen one, so didnt know they were there lol
I have the auto embedd mod installed, I wonder if that can do the same job (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.postsmile.net%2Fimg%2F20%2F2070.gif&hash=84d5adfcc99a76df0cacad0ec7d6810998dc24b2)

*steals off to investigate
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: FUBAR on September 23, 2008, 11:41:20 PM
If you look at this video you can clearly see the difference from default to high quality.

http://www.youtube.com/watch?v=LdSnZvseggw

I've asked about the auto embed mod but no word from Benson over at SMF and I think he's looking for a new modder to take over his mods.
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: FERNSIDEâ„¢ on September 24, 2008, 12:17:26 AM
Hahaa... a new fast n furious!
And its called...........   Fast n Furious! LOL
Their range never ceases to amaze me ;)

Cheers for that link.
Oh yeah...   the quality difference is highly noticeable
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: Bongo_Fury on June 09, 2010, 02:59:58 AM
Hello, can I embed video from 15secondsfame.net (http://15secondsfame.net/) ?

I'm using this code, but it appear just as html:

<script type="text/javascript" src="http://15secondsfame.net/player/swfobject_1.5.js"></script>

<p id="vshare_player">
    <a href="http://www.adobe.com/go/getflashplayer">
        <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
</p>

<script type="text/javascript">
var so = new SWFObject("http://15secondsfame.net/player/player.swf","vshare_player","320","270","8");
so.addParam("allowfullscreen","true");
so.addVariable("file","http://15secondsfame.net/flvideo/4ca4238a0b/12747270741241709755.flv");
so.addVariable("image","http://15secondsfame.net/thumb/4ca4238a0b/119.jpg");
so.addVariable("logo","http://15secondsfame.net/templates/images/watermark.gif");
so.addVariable("link","http://15secondsfame.net/");
so.addVariable("linktarget","_blank");
so.addVariable("width","320");
so.addVariable("height","270");
so.addVariable("displayheight","240");
so.addVariable("overstretch", "true");
so.addVariable("autostart", "1");
so.addVariable("bufferlength", "10");
so.write('vshare_player');
</script>

Title: Re: [Block] Embed Youtube Video with High Quality
Post by: FUBAR on June 09, 2010, 03:30:55 AM
I'm not really sure where you got that code from but if you go to the bottom of the page of the video you'll find "Embeddable Player" code. 

If you want this in a block, use the HTML/JavaScript one and paste the code it gives you. 

Example:
<object width="425" height="350" type="application/x-shockwave-flash" data="http://15secondsfame.net/player/player.swf"><param name="movie" value="http://15secondsfame.net/player/player.swf"><param name="flashvars" value="&file=http://15secondsfame.net/xml_playlist.php?id=99&height=350&image=http://15secondsfame.net/thumb/4ca4238a0b/99.jpg&width=425&location=http://15secondsfame.net/player/player.swf&logo=http://15secondsfame.net/templates/images/watermark.gif&link=http://15secondsfame.net/&linktarget=_blank"/></object>

O0

Weird site BTW, it only hosts 15 second videos?  What could that possibly be used for and why not use YouTube?  lol
Title: Re: [Block] Embed Youtube Video with High Quality
Post by: Bongo_Fury on June 09, 2010, 09:11:43 AM
thank you for reply :)