Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Force HD


Hey guys how do I get my video to force HD when using jwplayers default host account? so far my code is:

<div id='playercgUyLYYu'></div>
<script type='text/javascript'>
jwplayer('playercgUyLYYu').setup({
playlist: 'http://jwpsrv.com/feed/cgUyLYYu.rss',
width: '100%',
aspectratio: '16:9',
autostart: 'true'
});
</script>


I can see the HD button, but want it to force start in 720p instead of viewer having to manually switch it.

15 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Where are you running this?

JW Player

User  
0 rated :

On a webpage

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link.

JW Player

User  
0 rated :

Now Ethan, what have I told you about how to ask a poster for a link? :D

JW Player

User  
0 rated :

"Where are you running this?"

Possible answers:

<ul>
<li>On a server.</li>
<li>On my computer.</li>
<li>On the Interwebs.</li>
<li>In a browser.</li>
<li>Utah.</li>
<li>In theory.</li>
</ul>

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, a link please.

JW Player

User  
0 rated :

Here ya go!

http://www.powerleadspro.com/register/?id=82aef7faaa

JW Player

User  
0 rated :

MisterNeutron the only possible answer is obvious.. I stated I'm using the hosted player inside JWplayer's account which automatically provides the code to copy/paste onto webpages within the <head> tag

Now, obviously if it's on a web page, that webpage is on a server, not sure why you would think I would use a local path to execute webpage to view it in my browser ;)

JW Player

User  
0 rated :

Oh, I'm just poking Ethan. He often asks "Where are you running this?" instead of "Please give me a link to your web page." Then he gets the kind of unhelpful replies I've listed. And those are just the semi-rational ones. ;)

We need to be able to _see_ the problem in action. Only a link to a live web page is of any use.

Ethan Feldman

JW Player Support Agent  
0 rated :

Here is a code snippet that will force your player to 720P:

<div id='playercgUyLYYu'></div>
<script type='text/javascript'>
    jwplayer('playercgUyLYYu').setup({
        playlist: 'http://jwpsrv.com/feed/cgUyLYYu.rss',
        width: '100%',
        aspectratio: '16:9'
        autostart: 'true'
    });
jwplayer().onReady(function(event) {
	jwplayer().onQualityLevels(function(event) {
		jwplayer().setCurrentQuality(0);
	});
});
</script>

JW Player

User  
0 rated :

This code doesn't play at all...

JW Player

User  
0 rated :

Here's what I pasted assuming that code above is what I was suppose to use http://screencast.com/t/U7hsiqaEOP4

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry, I missed a comma, here is the complete code for your page, with my script added:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Power Leads Pro</title>
<link href="http://www.omncdn.com/register/css/regtemplate202.css" rel="stylesheet" type="text/css">
<script src="http://jwpsrv.com/library/5CoetqSwEeOwxyIACi0I_Q.js"></script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-48316736-1', 'powerleadspro.com');
  ga('send', 'pageview');

</script></head><body>


<div id="wrap">

	<div id="header">
    
    	Register Now: Space Extremely Limited
    
    </div>
    
    <div id="main">
    
    	<h1>"Discover How to Get Hot Leads for Your Business Instantly for Any Vertical or Niche Worldwide!"</h1>        
        <div id="register">
        
        	<h2>Register <span class="underline">FREE</span> Now!</h2>
            
            <div id="form">
            
		<form accept-charset="UTF-8" action="?id=82aef7faaa" class="infusion-form" method="POST">
<input name="inf_form_xid" type="hidden" value="d82ee7bfd8519f19daa1b41db2316908" />
<input name="inf_form_name" type="hidden" value="stealth" />
<input name="infusionsoft_version" type="hidden" value="1.29.10.21" />


<p> <input name="date_option" type="radio" value="option1|1397084400" checked> Wednesday, April  9 at  7:00 PM (Eastern)<br><small>_(Only *<span class="strike">100</span> 
20 seats left* for this event time.)_</small></p>
<p> <input name="date_option" type="radio" value="option2|1397138400"> Thursday, April 10 at 10:00 AM (Eastern)<br><small>_(Only *<span class="strike">100</span> 
31 seats left* for this event time.)_</small></p>
<p> <input name="date_option" type="radio" value="option3|1397228400"> Friday, April 11 at 11:00 AM (Eastern)<br>_<small>(Only *<span class="strike">100</span> 
48 seats left* for this event time.)</small>_</p>

<p><label>First Name</label><br><input class="input" type="text" name="inf_field_FirstName" id="inf_field_FirstName"></p>

<p><label>Primary Email</label><br><input class="input" type="text" name="inf_field_Email" id="inf_field_Email"></p>




<center>

<br>
<input type="checkbox" id="do_sms" value="1" /> 
 
 I would like to receive an SMS text alert before the event starts<br />

      _*(Optional but highly recommended)*_
            <br /> 
            <div style="display:none; position:relative;" id="SMS"> <span style="color:#F00; font-weight:bold;"></span>
            <br> 
              <input class="input" type="text" id="inf_field_Phone1" name="inf_field_Phone1" size=20 value="Enter Mobile Phone Here..." onKeyPress="return isNumberKey(event);" onFocus="if(this.value=='Enter Mobile Phone Here...')this.value='';" onBlur="if(this.value=='')this.value='Enter Mobile Phone Here...';" />

<input type="hidden" name="sms_field" value="inf_field_Phone1"> 



              <br /> 
              <span style="font-size:10pt; font-family:Tahoma, Geneva, sans-serif"><span style="color:#F00; font-weight:bold;"></span><div style="text-align:center;"><br /> 

Enter your mobile phone number to receive a text reminder when the webinar is starting (Canada & US only)</div></span><br /></div></center>


<input id="_SSWebinarTitle" name="inf_custom_SSWebinarTitle" type="hidden" value="Power Leads Pro" />

<input id="_SSWebinarDateTimeText" name="inf_custom_SSWebinarDateTimeText" type="hidden" value="[[datetime]] (Eastern)" />

<input id="_SSWebinarUrl" name="inf_custom_SSWebinarUrl" type="hidden" value="82aef7faaa" />




 
<input class="submit" type="submit" value="" alt="Register for Event!"><br><br>
<input type="hidden" name="formredirect_z" id="formredirect_z" value="https://mjisolutionscorp.infusionsoft.com/app/form/process/d82ee7bfd8519f19daa1b41db2316908"><input type="hidden" name="event_id_z" id="event_id_z" value="82aef7faaa"><input type="hidden" name="tz_z" id="tz_z" value="US/Eastern"><input type="hidden" name="timestamp_z" id="timestamp_z" value="1397084400"><input type="hidden" name="as_z" id="as_z" value="4"><input type="hidden" name="title_z" id="title_z" value="Power Leads Pro"><input type="hidden" name="replay_duration_z" id="replay_duration_z" value="12"><input type="hidden" name="language_z" id="language_z" value="Array"><input type="hidden" name="host_z" id="host_z" value="powerleadspro.com"><input type="hidden" name="replay_notify_z" id="replay_notify_z" value="1"><input type="hidden" name="ver" id="ver" value="3.6"></form>
<script language="javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script language="javascript">$(document).ready(function(){$("#do_sms").click(function(){if($("#do_sms").is(":checked")){$("#SMS").slideDown();}else{$("#SMS").slideUp();}});});</script>
		
					<p><center><a onClick="alert('You can attend this event with a Windows computer, Mac Computer, iPad, iPhone or iPod Touch. Windows and Mac users require Flash as well as audio speakers.');" title="You can attend this event with a Windows computer, Mac Computer, iPad, iPhone or iPod Touch. Windows and Mac users require Flash as well as audio speakers.');return false"><img src="http://www.omncdn.com/images/logos-small.png" width=250 border=0 alt="You can attend this event with a Windows computer, Mac Computer, iPad, iPhone or iPod Touch. Windows and Mac users require Flash as well as audio speakers." title="You can attend this event with a Windows computer, Mac Computer, iPad, iPhone or iPod Touch. Windows and Mac users require Flash as well as audio speakers."></a></center></p>  
            
            </div>
        
        </div>
        
        <div id="facebook">
        
        <iframe src="https://www.facebook.com/plugins/like.php?href=http://www.omncdn.com/register/?id=82aef7faaa&layout=standard&show_faces=false&width=350&action=like&font=verdana&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:350px; height:35px;" allowTransparency="true"></iframe>
                </div>
        
        <div id="video">

	      <div class="video">
<div id='playercgUyLYYu'></div>
<script type='text/javascript'>
    jwplayer('playercgUyLYYu').setup({
        playlist: 'http://jwpsrv.com/feed/cgUyLYYu.rss',
        width: '100%',
        aspectratio: '16:9',
        autostart: 'true'
    });
jwplayer().onReady(function(event) {
jwplayer().onQualityLevels(function(event) {
jwplayer().setCurrentQuality(0);
});
});
</script>


        	
        
        </div>
        
        <div id="shadow"></div>
        
        <div class="clear"></div>
        
        <div id="footer">
        
        	<p>Safeguarding your email address and webinar registration information is taken seriously. We will not sell or rent this information. <br>
                             You may receive confirmation emails and can unsubscribe at anytime.</p>

			<p>Copyright 2014 - All rights reserved</p>
        
        </div>
    
    </div>

</div>
</body></html>                 

JW Player

User  
0 rated :

perfect works - thanks Ethan!

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

This question has received the maximum number of answers.