Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Does the HD Plugin work with YouTube?

46 replies [Last post]
Reply

Guys,

I also posted this in the General forum too, I wasn't sure of the best place to post it.

Apologies if this is a silly question.

Does the HD plugin work & JW Player 4.4 work with Youtube?

Like a lot of people here, I've been using the PHP scripts to download the FLV/MP4 directly from youtube in order to make sure that my videos play by default in HQ/HD from YouTube.

I was hoping the JW Player 4.4 and the HD plugin will eliminate the need for any PHP workarounds, and I can view YouTube videos in HQ/HD by default.

Any one know?

Thanks in advance for your help.

Gareth

Reply

I posted this on the other forum as well but basically as youtube don't supply the HQ/HD version via their APi the answer is no

Reply

LennonNZ has it right - until YouTube supports HQ/HD in their chromeless API player, the JW Player (HD plugin or not) won't be able to support it.

Reply

Ok, thanks for the feedback. It's appreciated.

Gareth

Reply

"Like a lot of people here, I've been using the PHP scripts to download the FLV/MP4 directly from youtube"

Could you give me this code?

Reply

I just noticed a new youtube "embed in HD" option for newly uploaded HD videos... are they supplying the HQ/HD version via their API?

Reply

Looking at the reference materials (http://code.google.com/apis/youtube/flash_api_reference.html), it appears that the answer is no.

Sorry!

Reply

Here the Youtube api link with the HD option
http://code.google.com/intl/fr/apis/youtube/player_parameters.html#hd

You can anable HD buton this way with the youtube player
&hd=1
HD by default

Ex: http://startclip.com/details-youtube-player.php?id=bAuUaGm2Znc

Here the hd link working, i didn't make it autoplay because we can see it's not hd just until we press play.
You will see the Youtube HD logo appear.
http://www.youtube.com/v/bAuUaGm2Znc?fs=1&hd=1

Then youtube allow HD to be played on our website.

May be we can find the way to get this hd video link for the JW player

Reply

We'll investigate this for the 5.1 release:

http://developer.longtailvideo.com/trac/ticket/580

Reply

There is already a solution for hd video?
Supported youtube hd in the new player?

Reply

YouTube HD is not supported.

Reply

I'm hoping that Youtube HD will be available in the JW Player soon. Are there any dates set for its release?

Reply

I'm also looking for a HD support. Why does longtail not bring out a new version with this support. Especially if we pay for the software.

Reply

YouTube HD will work once the there is an update to use the AS3 YouTube API instead of the AS2 version. I do not know the ETA on this though, unfortunately, but we plan on addressing this!

Reply

YoutTube API ActionScript 3 is out already
http://code.google.com/apis/youtube/flash_api_reference.html

So now LongTail needs to update it's core... comone guys, it's long time ago YouTube makes HD Videos and no update here to see since long time

Reply

Since AS2 is depreciated and a new player (AS3?) has been released with the remake of the Youtube frontpage, any luck of getting closer to a solution?

Reply
Reply

So it looks like it does support it now. Still waiting for an update here! ;)

Reply

There will be an update soon ;)

Reply

Thank you Ethan that is great news, I really can't wait!

Reply

Np!

Reply

It will be a very nice upgrade!!!!

Can't wait to use it!

:D

Reply

Still on top of it Ethan? You're killing me here! ;)

Reply

We have a ticket currently open for this - http://developer.longtailvideo.com/trac/ticket/580, you can track the process there.

Reply

How is progress with Youtube-HD ?

Youtube-HD now exists for at least 2 years
Youtube-Api support for HD (AS3) now exist at least 8 months or so.

The mentioned ticket...dont mention nothing meaningful
i dont see or understand what the problem for Longtail is
while i see since 8 months many hobbyists producing Youtube Flash-players with AS3
that play Youtube HD flawlessly (Activeden,Flashden..etc)

What is the problem ?

How long do we still have to wait ?

Reply

@Ron - Not sure about the ETA, but we have a ticket currently open for this - http://developer.longtailvideo.com/trac/ticket/580, you can track the process there.

Reply

@ Ethan

Yes i know about that ticket.
and i also know that its 10 months ! old now (it says)
So refering me to a 10 months old ticket that shows zero-progress
is not really "current" but almost outdated i'd say.
sorry to say so...but it does not give me any hope you will solve this soon.

I dont understand why you dont finish it...its much requested
and several others have it working for almost a year now.

Now let me ask you another more usefull question.

Will this HD be an plug-in or a standard option in newer versions ?

Said different...could i start with a current player-version (which 4? 5? both ?)
and easely update/replace it later with the HD-option ?

.

Reply

@Ron - The developers can chime in later, but this is not a trivial change to support.

Give me an example of the "several other" that have it working for almost a year now.

To your answer - not sure. There are several options.

Reply

Here's a quick'n'dirty fix for people wishing to have a better "default" quality with YouTube. Get the sources and edit yt.as (from trunk/fl5). Then edit lines 78 and 79 and replace them with:

_as3_to_as2.loadVideoById = function(id,pos) {ytPlayer.stopVideo(); ytPlayer.loadVideoById(id,pos,"large"); };
_as3_to_as2.cueVideoById = function(id,pos) { ytPlayer.cueVideoById(id,pos,"large"); };

Compile yt.fla and voilĂ !

NB #1: I set the quality to "large" but you can use any of the values presented here: http://code.google.com/intl/fr-FR/apis/youtube/flash_api_reference_as2.html#setPlaybackQuality
NB #2: I haven't tested whether or not the player defaults to a "lesser" value if, for example, you set it to "hd720" and the format doesn't exist. Anyways, "large" usually is a safe bet ;)

Reply

This doesn't work for me...
Anyone has any new idea???

Reply

@Yos - Provide a link please!!

Reply

I'm really (REALLY) disappointed to see that ticket #580 for YouTube HD support is now in Backlog?

Longtail and it's JW Player is one of the leading videoplayers (if not THE) on the net with a great fanbase. I have purchased a couple of players for clients, but I'm done being lied to. For over a year and a half we've been told that there will be YouTube HD support for the player, and now it's canceled just like that?

Sorry to vent like this but I'm really disappointed. I'll be on the lookout for a replacement :(

Reply

@Ronald ter Veen - We have a blogpost here - http://www.longtailvideo.com/support/blog/17773/a-word-about-youtube-support-in-the-jw-player, it supports the YouTube AS3 API, which will automatically pick the highest quality from YouTube. So - "HD" will be supported.

Reply

Hi,

I have licensed version of jwplayer, can I play HD youtube videos on my 5.5 licensed version ?

regards,

Reply

We have a blogpost here - http://www.longtailvideo.com/support/blog/17773/a-word-about-youtube-support-in-the-jw-player, it supports the YouTube AS3 API, which will automatically pick the highest quality from YouTube. So - "HD" will be supported. If you want a licensed copy of it - http://www.longtailvideo.com/support/contact-us

Reply

You have a blogpost that suports youtube as3 api? I did not see anything about youtube and switching to HD videos in this blogpost.. HD "will" be supported, is the clue I guess. I want the ability to switch from sd to hd and see the player with playlist on my ipad. Is that to much to ask?

Reply

5.6 will support YouTube HD through the HD plugin.

Reply

Mr. LongTail,

I appreciate you making an app of this sort available for us to use. One question I have regarding this HD matter:

I'm assuming that JWPlayer has to incorporate YouTube Chromeless player when videos are being streamed to it, hence, the need for the yt.swf file. If this is indeed the case that the Chromeless player is thus present inside JWPlayer during YouTube streaming then we should be able to make YouTube Chromeless API calls to JWPlayer, as the Chromeless player ought to be present somewhere therein. Therefore, should not a call of this sort stream an HD video: "jwplayer().setPlaybackQuality('hd1080')" according to the YouTube API specs at this page: http://code.google.com/apis/youtube/js_api_reference.html#Playback_quality

If this is the case then of what further consequence is the HD plugin?

Cheers.

Reply

In 5.6, yt.swf will no longer be needed. I will see if I can get a demo for you of this.

Reply

From what I'm seeing so far in the 5.6 release, YouTube videos are only being loaded in HD if the player's size is already large enough to accomodate it - for instance if you click the player's "fullscreen" button BEFORE hitting "play", you get YouTube HD.

If, however, you start playing the video first, and then go to fullscreen, the video quality does not upgrade automatically.

Thus my question is: is there a way to manually set the video quality for YouTube videos?

Perhaps something like Kamran above suggested with "jwplayer(id).setPlaybackQuality('hd1080')" as specified in the AS3 API... I tried calling that after "jwplayer(id).setup(...)", but it doesn't seem to work.

Reply

There is no way to set the video quality manually.

Essentially, if you have a video on YouTube, that has an HD option, and you use that as you "file" and set your plugins to "hd", the HD switch will activate "YouTube HD".

Reply

Thanks for the tip, I wasn't using the HD plugin before (instead I had 3 levels of quality that can be switched via JS). But having added the plugin now, it works like a charm, cheers!

Reply

Cheers! :)

Reply

Thank you and the team so much Ethan, I will try this out right now! Looking forward to it.

Reply

Np! :)

Reply

Works as expected! Had to trial/error it for a bit though, as I didn't know how to properly use the hd-1 plugin without putting in the filename again (like in the example). Ended up using 'hd=1':true.

Full example:
[code]
jwplayer('videoContainer').setup({
flashplayer: 'media/mediaplayer/5.6/player.swf',
file: 'http://youtu.be/C_7_dYWMsL0',
type: 'youtube',
width: 620,
height: 350,
'plugins': {
'hd-1': true
},
skin: 'media/mediaplayer/skins/glow.zip'
});
[/code]

(not sure how pasting in code will work on Longtail, but I'll finding that out the hard way in a in a second, haha)

Reply

Cool, glad you got it!

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options