Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you set the video player size responsive on mobile? #12

Open
mjmaramba opened this issue Nov 25, 2016 · 0 comments
Open

How do you set the video player size responsive on mobile? #12

mjmaramba opened this issue Nov 25, 2016 · 0 comments

Comments

@mjmaramba
Copy link

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'
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant