Comments (13)
[deleted comment]
from jquery-tubular.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
#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.
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.
Related Issues (20)
- set player volume at start
- Video is not playing in Android device HOT 4
- Audio doesn't work in Chrome
- How do I hide the video controls
- Start position in Google Chrome is always zero.
- Top white border in both IE and Chrome HOT 1
- Start position is always zero.
- Enhancement: Disable Clicking on background
- loop from designated start and end seconds HOT 1
- Does not work
- Turning off advert show
- Can tubular play local videos ?
- file://www.youtube.com/iframe_api Failed to load resource: net::ERR_FILE_NOT_FOUND
- Can I Force HD720 playback
- Tubular does not respect Modernizr HOT 1
- tubular not appearing to work within a function
- Redirected site problem
- Video not working in chrome browser
- jquery-tubular phpbb style integration
- IE11 autoplay is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-tubular.