Solved

jwplayer

Posted on 2010-11-24
4
1,051 Views
Last Modified: 2012-05-10
Hi i need to hide control bar in jwplayer. Maybe some one know how i can do it with this script

  var s1 = new SWFObject('core/plugin/player/player.swf','ads_players','448','294','9');
         s1.addParam('allowfullscreen','true');
         s1.addParam('allowscriptaccess','always');
         s1.addParam('logo','hide');
         s1.addParam('flashvars','file=http://kaykovtv.iwebpixels.com/video.mp4');
         s1.write('ads_player');
          jwplayer('ads_players').play(true);  
0
Comment
Question by:umaxim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Luis Pérez earned 500 total points
ID: 34203474
0
 
LVL 10

Expert Comment

by:hosneylk
ID: 34203516

s1.addParam('flashvars','file=http://kaykovtv.iwebpixels.com/video.mp4&controlbar=none');

Open in new window

0
 
LVL 25

Expert Comment

by:Luis Pérez
ID: 34203560
If it doesn't work, instead of
s1.addParam('flashvars','file=http://kaykovtv.iwebpixels.com/video.mp4&controlbar=none');

use this form:
s1.addVariable("file","http://kaykovtv.iwebpixels.com/video.mp4");
s1.addVariable("controlbar","none");
0
 
LVL 1

Author Comment

by:umaxim
ID: 34203866
Thank you it is works and i have one more question why when i try to use lightbox and
                     jwplayer('ads_players').onComplete(function() {
           $(document).ready(function(){
            $.colorbox.close()
            });
i got error jwplayer('ads_players'). is null
If i need create another question i will ?
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
email validation 9 49
PHP Web Development 6 29
15 puzzle in Javascript/html 2 44
Javascript: Range object 16 14
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question