javascript - Applying style for YouTube Popup Player's popup Window -
i had used youtube popup player video player in webapplication, iam trying change styles of popup window..but iam not able it..i had found cssclass property
applying styles.. here link youtube popup player..http://lab.abhinayrathore.com/jquery_youtube/
how can resolve it..
you can follow arunkumar answer if want change defaults of plugin, don't have set options everytime want initialize plugin.
or, can set specific properties each element plugin assigned, this:
$(function () { var options = { fullscreen : 0, color : 'red', width : 500, height : 300, overlayopacity : 0.9 }; $("a.youtube").youtubepopup(options); });
or, instead of creating variable options, this:
$(function () { $("a.youtube").youtubepopup({ fullscreen : 0, color : 'red', width : 500, height : 300, overlayopacity : 0.9 };); });
hope make more understandable you!
Comments
Post a Comment