dan0 / youtubeplaylist Goto Github PK
View Code? Open in Web Editor NEWTurns a list of links to youtube pages into an inline playlist
Turns a list of links to youtube pages into an inline playlist
Line 66:
this._fullscreen = (this.options.allowfullscreen) ? '&fs=1' : '';
should be:
this._fullScreen = (this.options.allowFullScreen) ? '&fs=1' : '';
Why is getNewEmbedCode being called instead of getOldEmbedCode? getNewEmbedCode seems incomplete and does not read/write some of the options such as this._autoPlay and this._fullScreen.
Hi Dan,
I was wondering how to make the video thumbs (the one on the video before hit play button) fits perfectly. I had to resize the video size to fits my layout, width: 300, h:183, but it keeps in small size http://d.pr/T47T any ideas?
I guess this is a problem common to all html player instances. But maybe you find a workaround.
Plugin works beautifully but cannot get showRelated to be false, despite settings. I'm talking about the generated iframe code that displays either Flash or HTML5, depending upon the browser capabilities.
I hard-coded around it by changing line 67 of the .js file to
html += ' src="http://www.youtube.com/embed/'+ id + "?rel=0" +'" frameborder="0"';
but would love to know the correct way to pass that parameter. Thanks for any input.
first of all, your code is perfect for me. thank you for your contribution.
i just downloaded the code and tried to use mixedgallery version.
everything is working as promised, but just one thing doesn't seem to like working.
with your sample, mixedgallery.html, there are images named "van gogh", "Yo", and "Test2" btw "a href.." and "/a" but it doesn't show up in the screen.
youtube title are showing ok when i put it btw a href and /a.
am i missing something?
can you advise me on this?
thank you in advance.
Hi, I would like to ask on how to set the video player size to width: 100% because I want it to be responsive on mobile?
var pluginName = 'ytplaylist';
var defaults = {
holderId: 'ytvideo',
playerHeight: 430,
playerWidth: 790,
addThumbs: false,
thumbSize: 'small',
showInline: false,
autoPlay: true,
showRelated: true,
allowFullScreen: false,
deepLinks: false,
onChange: function(){},
start: 1,
secure: 'auto' //false|true|'auto'
};
...
Is it possible to autoplay the next video after the first one's finished?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.