0
I’m implementing a youtube video plugin, but I want this plugin in a certain resolution to change a value in your statement. Follows code of example :
$('#youmax').youmax({
apiKey:'AIzaSyDEm5wGLsWi2G3WG40re-DAJcWioQSpJ6o',
youTubeChannelURL:"https://www.youtube.com/channel/exemplo",
youmaxDefaultTab:"Uploads",
youmaxColumns:4, //Valores que quero mudar
showVideoInLightbox:true,
maxResults:4 //Valores que quero mudar
});
I want to change these values "youmaxColumns" and "maxResults" when reaching the width om 600px, for example, declaring another value, like 3 or 2. I await, and thank you for your attention
Want container or screen width?
– Query
screen. I want to change the plugin view when arriving on smaller screens
– Joel Freitas