Giter Site home page Giter Site logo

Comments (14)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
[deleted comment]

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
You can change the quality setting in line 47 of the javascript. Your users may 
experience more stuttery playback if their bandwidth can't hang.

Original comment by [email protected] on 9 Dec 2011 at 1:36

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
I just tried setting it to HD and it worked fairly well. Any sluggishness seems 
to be more a problem with the browser than with bandwidth in my case. (on 
wi-fi.)

Firefox about choked on it. The navigation became sluggish and at times 
unresponsive. Laptop fans were whirring into high gear. But Safari and Chrome 
handled it like a champ.

Original comment by [email protected] on 9 Dec 2011 at 2:33

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
i changed quality setting in line 47 but the video won't start at all. i figure 
it out to add &hd=1 into line 34 which will make the video start at 720p

swfobject.embedSWF("http://www.youtube.com/v/" + videoId + 
"?enablejsapi=1&playerapiid=ytplayer&loop=1&hd=1", "ytapiplayer", videoWidth, 
videoHeight, "8", null, null, params, atts);

Original comment by [email protected] on 20 Dec 2011 at 6:12

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
I'm quite ambivalent about this one.

Original comment by [email protected] on 24 Feb 2012 at 4:50

  • Added labels: Type-Other
  • Removed labels: Type-Defect

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
I'm going to continue letting the YT player determine the playback quality.  In 
the next build, I'll see what I can do to make it work as efficiently as 
possible.

Original comment by [email protected] on 24 Feb 2012 at 4:56

  • Changed state: WontFix

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Hello, I doon't find the line where change the quality :-S Someone could help 
me, please? thanks :-)

Original comment by [email protected] on 1 Dec 2012 at 10:29

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
i couldn't find this line, too.
Where can i change the quality in the recent script??

Original comment by [email protected] on 21 Jan 2013 at 8:27

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Where to make a better quality, like ONLY HD video?

Original comment by [email protected] on 14 May 2013 at 9:58

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
guys, use this code (change videoQuality value as described at 
(https://developers.google.com/youtube/iframe_api_reference#Playback_quality):

 videoQuality = "hd720"

        window.onPlayerReady = function(e) {
            resize();
            if (options.mute) e.target.mute();
            e.target.setPlaybackQuality(videoQuality);
            e.target.seekTo(options.start);
            e.target.playVideo();   
        }

        window.onPlayerStateChange = function(state) {
            if (e.data == YT.PlayerState.BUFFERING) {
                e.target.setPlaybackQuality(videoQuality);
            }

            if (state.data === 0 && options.repeat) { // video ended and repeat option is set true
                player.seekTo(options.start); // restart
            }
        }

Original comment by [email protected] on 11 Jul 2013 at 12:56

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Hi, any updates regarding HD.
Cannot figure out still how to set it so it starts with HD quality.

Original comment by [email protected] on 16 Sep 2013 at 7:02

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
#10 code work for me .. just a little bit of changing the code in here so it 
will work on buffering

if (e.data == YT.PlayerState.BUFFERING) {
                e.target.setPlaybackQuality(videoQuality);
            }

must be change e to state .. 

if (state.data == YT.PlayerState.BUFFERING) {
                state.target.setPlaybackQuality(videoQuality);
            }

the e behaviour is not defined, the parameter state in this line 
window.onPlayerStateChange = function(state) was declared, so state will be 
used as a behaviour. :)

Original comment by [email protected] on 24 Sep 2013 at 1:33

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Hello... this thread is a few years old... but can anyone give me a clear path 
to getting a higher quality full-screen video happening?

I've tried incorporating the above solutions, but to no avail.

I'm using 1.0.1

Original comment by [email protected] on 4 Jun 2015 at 5:59

from jquery-tubular.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 9, 2024
Same, i see the code has a video quality parameter in v1.0.1 but it is not 
affecting the quality. Please help!

Original comment by [email protected] on 13 Jul 2015 at 7:55

from jquery-tubular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.