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

Forums

/

Quality problem embedding videos from Youtube

38 replies [Last post]

Hi guys,

i would like to report a big that i am trying to fix sicne some days but didn't have a chance to do that.

I've installed JW Flash flv player in my site through a wordpress plugin called wordtube (http://wordpress.org/extend/plugins/wordtube/) that includes yt.swf to work.

The point is that if i play videos locally uploaded on my server there's no problem and quality is perfect but if i embed a video from youtube i get a poor video quality (i've tried to insert the &fmt=18 tag too but no changes).

You can see and example there www.ildeboscio.com/wordpress/ where you can see 2 different version of the video LESS LOVE and as you can see the upper one got a poor quality, how can i fix that?

Thanks

none noticed this problem?

OMg, i have been trying to figure out this EXACT SAME problem. I have a similar setup, using WP, i have yet to figure out how to stream HQ you tube videos through JW FLV player. someone has to have run into this problem and solved it right??? :(

Unfortunately, that's the quality YouTube offers through their API. Nothing to change there I'm afraid...

damn i have same problem. The Quality of the product doesn't good.

ALso will Ask if there is anyway to play Veoh.com videos with the Player ?

The code for YouTube HQ was posted on 17.09.2008 here: http://www.jeroenwijering.com/?thread=13017#msg86348

Yes..there is a quality problem in the latest 4.2player. If you compare 3.16 player and 4.2 player..Youtube quality is good in 3.16 player..(I am using the "&fmt=18". option in both).....same with the case of youtube logo..in 3.16 player it displays in correct size..but in 4.2 player it shows enlarged and in full screen looks very bad.

The problem is real.

I would like to confirm what Jane said. It's true, I have even done some testing. I have an older (version 3.x) on my site and youtube videos looked great, much smoother and not pixelated.

Version 4 is awesome, many new features, BUT youtube has gone bad. Are you guys sure its the API thing?

I understand that there is no "legal" way to embedd a high quality since youtube doesn't want that, but is there a way to smooth it? deblock it? Loading youtube in JW player is one of the best options ! I love it. Please please, lets improve the quality : ))

True, Youtube videos looked as good as they could in the previous player, now the're a pixelated mess. Let's hope it get's fixed ASAP.

I'll see if I can hack some more smoothness into the YouTube videos by forcing a high movieclip quality setting...

I did some testing and it seems you can get high quality youtube videos by changing the yt.swf file.

Just open the yt.as file and add &ap=%2526fmt%3D18 to the end of the ytLocation url. Compile it, so you get a new yt.swf, upload it and you got high quality videos (if they are available of course)

greets wessite

I'll try this, thanks for the hint!

@wessite

Thanks for the tip! Works perfectly!

I did compile the yt.swf but after a while my browser will crash due of the flash plugin.
http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-4.3/yt.as
Crash in IE, firefox and Chrome all with the latest flash plugin

var ytLocation:String = "http://gdata.youtube.com/apiplayer/cl.swf?key=AI39si5vap3DRPYttWUdJutb5aeUHz7-uPnwWMt4X9QgzwBQqSOl5r6Tzd0Su3MPJx_9t8LR5zi-bw5ztLcxIOh-Auj-fiiYEw&ap=%2526fmt%3D18";

@ceasar

Don't use 4.3. It is still beta. I got the same result (IE only). Use 4.2.

Thanks.

how do i get 4.2 ?

iam for sure its the player..the older player was much much better

any news on the youtube pixelate issue yet?

There is something wrong with resizing of chromeless container.

Take a look at the original chromeless sample from youtube:
http://code.google.com/apis/youtube/chromeless_example_1.html

Picture is 400x300 and is perfect, compared to picture that comes out of jeroens player if size is not 320x240 pixel.

Also, even if I change the size of youtube chromeless window in original example, the dimensions of youtube logo stays at the same dimension, which is not the case with jeroens player.
In jeroen player youtube logo resizes together with the video.

So, Jeroen, please, please, please do something about it.

@Jeroen.

Could you please look into this one

http://youtubechromelesswrapper-as3.googlecode.com/svn/trunk/as3wrapper/deploy/index.html

It''s a much better quality then the current player

I'll take a look at the resizing functionality. Currently, the player just blows up the YouTube video. The result seems to be a lot better if the Youtube API resizes the file.

Note that the 4.3 player already introduced a quality improvement by setting the movieclip quality of the yt.swf file to "high".

And how do you set the movie quality of the yt.swf ?

Im also having a problem with a large youtube logo, does anyone have a link to an older version that I can try?

As Google says “setSize(width:Number, height:Number):Void

Sets the size of the chromeless player. This method should be used in favor of setting the width + height of the MovieClip directly. Note that this method does not constrain the proportions of the video player, so you will need to maintain a 4:3 aspect ratio. When embedding the player directly in HTML, the size is updated automatically to the Stage.width and Stage.height values, so there is no need to call setSize() when embedding the chromeless player directly into an HTML page. The default size of the SWF when loaded into another SWF is 320px by 240px.”

A quick solution is, if your video player has pretty much the same dimensions on your site, to edit the YoutubeModel.as file. Search for the 320 and 240, and replace them with your dimensions. Recompile it, upload, done... it worked pretty good on my player. example: http://feelbmx.com/videos/wethepeople---dave-osato

(in the yt.as, you also have the dimensions but altering them doesn't seem to do anything)

Cheers

Thanks wessite, very usefull info. I have tried to change dimensions in yt.as (and as you said, nothing happened), but didn't look any further...

Please fix this, I'm a huge fan of the JWP, I use it on every website I work on that wants video capabilities.

Any update on this? we need a fix.

I'll see if I can hack some more smoothness into the YouTube videos by forcing a high movieclip quality setting...

<a href="http://loadingvault.com">rapidshare search</a>

This problem was fixed with 4.4 version.
Download it.

I am still seeing the lowest quality versions of all Youtube videos when played thru the JW Player.

I have tried every trick i could come across on altering the Youtube URL to add the (escaped) fmt=18 and fmt=22 types, but the end result is always the fuzziest version available on the YouTube site. I have also tried forcing the HD=1 at the end of the URLs taken from the embed code on the sites.

So, i may be doing everything wrong here, but after lots of study I can not find the trouble.

Example: Using the mydigitallife "hack" above, I am using an embed code of:
http://www.youtube.com/v/LPmbGzQaOCs&hl=en&rel=0&ap=%2526fmt%3D22
But the resulting videos look exactly as fuzzy as the low quality version here:
http://www.youtube.com/watch?v=LPmbGzQaOCs

(my JW version is showing as 4.4.198...)

I have said this before a number of times....

YT's T&C are you can ONLY get the HD/HQ version of the video if you are using their own player.. If you are using another player such as JW player (which uses their API) then they only supply the normal version of the video via their API.

It is not a limitation of jw player.. but just how YT does things.

If you are trying to view their HD/HQ version of the youtube (via any other means other than their own player) you are breaking their terms of use of their video.

There are many threads on "how" to do it in various places including here but they shouldn't be doing it.

btw I have nothing to do with youtube just wanting to point out one of their rules in using their videos.

4.4 DOES indeed fix the quality problem! NOW the JW playlist thru the JW Player looks just as good as the YT playlist thru YT's player!

But I can't use the YT playlist with JW? I thought that was supposed to be supported in 4.x?

And why does JW display the icon picture between videos?? Looks TERRIBLE when I'm trying to stitch 10 minute YT 'chapters' into one seemless video. I tried getting rid of 'image' references in the XML playlist, to no avail.

AND worst of all for me, too bad BOTH players still have the root problem I was TRYING JW for... PLAYLISTS don't complete playing!! Both JW and YT get 'stuck' between videos! YT had put up an error that 'the video is no longer available', totally erroneous and recently 'fxed' that by changing it to the classic 'an error of some sort has occurred'! (I used THAT line back in _1986_! Hardly a FIX!

JW just sits there infinitely spiining its icon... no better than YT. I'm beginning to think its a Flash bug!

<object type="application/x-shockwave-flash" data="http://www.keezmovies.com/inc/players/keezmovies_embed_4.swf" width="608" height="476"><param name="movie" value="http://www.keezmovies.com/inc/players/keezmovies_embed_4.swf" /><param name="bgColor" value="#000000" /><param name="allowfullscreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="FlashVars" value="options=http://www.keezmovies.com/embed_player.php?id=421029"/></object>

The large youtube logo in full screen still persists with 4.5 players too...No solution yet ????????

In testing we are getting better playback with an embedded YouTube video than when we play the exact same video played wrapped in the JW player. The problem shows even more in ie8. We would prefer to use the JW player as the wrapper. Smoothing is turned off. Any ideas? (Using latest version 5.3.1397). You can compare here: vidlock.net/2010/11/baseline-test/

UPDATE

This problem appears to be resolved when reverting to an older jwplayer.js file per this post:

http://www.longtailvideo.com/support/forums/jw-player/bug-reports/15289/jerky-video-with-player-vers...