Reply
Contributor
cpierce
Posts: 11
Registered: ‎12-09-2011
0 Kudos
Accepted Solution

Forcing player to render html5 on google chrome browser to test; player always delivers flash

Going by 'http://support.brightcove.com/en/docs/coding-solution-using-hybrid-both-player-apis', and using the hybrid approach, such that non-html5 devices work as before, I have this following publising code:

 

<script type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
<object id="myExperience" class="BrightcoveExperience">
<param name="includeAPI" value="true" />
<param name="templateLoadHandler" value="onTemplateLoad" />
<param name="bgcolor" value="#000000" />
<param name="width" value="758" />
<param name="height" value="493" />
<param name="playerID" value="1313485668001" />
<param name="isVid" value="true" />
<param name="dynamicStreaming" value="true" />
<param name="videoSmoothing" value="true" />
<param name="autoStart" value="true" />
<param name="@videoPlayer" value="864858598001" />
<param name="playerKey" value="AQ~~,AAAADkpfwyE~,WFiWpU5RQJ0_LgDYh5w0D6fznaVP4YCb" />
</object>
<script type="text/javascript">brightcove.createExperiences(); </script>

 

Is there a way using google chrome browser, I can test the player emitting html5 code rather than flash? The player I am using is all configured correctly to deliver html5 as documented. Since I do not have access to an iPad I wish to test this on this browser if there is a way to force the player to emit html5. Because now when i test this I get ''brightcove.api.getExperience(experienceID)' as null which signifies as if it is a flash-based player. Kindly help.

'

Brightcove Team
BC-Adam
Posts: 160
Registered: ‎06-23-2011
0 Kudos

Re: Forcing player to render html5 on google chrome browser to test; player always delivers flash

Use <param name="forceHTML" value="true"/>


Adam

 

Contributor
cpierce
Posts: 11
Registered: ‎12-09-2011
0 Kudos

Re: Forcing player to render html5 on google chrome browser to test; player always delivers flash

 

I did what you suggested with a chromeless player but now just see a this message "The video you are trying to watch is a format not supported by the HTML video tag in this browser.". Following is the code. As mentioned I have commented the javascript api event handlers for now as my target is  make this video play first on google chrome.

 

<script type="text/javascript" src="/scripts/BrightcoveExperiences_all.js"></script>
<object id="myExperience" class="BrightcoveExperience">
<param name="includeAPI" value="true" />
<param name="templateLoadHandler" value="onTemplateLoad" />
<param name="bgcolor" value="#000000" />
<param name="width" value="480" />
<param name="height" value="270" />
<param name="playerID" value="1318783677001" />
<param name="publisherID" value="61377332001" />
<param name="isVid" value="true" />
<param name="dynamicStreaming" value="true" />
<param name="videoSmoothing" value="true" />
<param name="autoStart" value="true" />    
<param name="@videoPlayer" value="864858598001" />
<param name="playerKey" value="AQ~~,AAAADkpfwyE~,WFiWpU5RQJ2NRtznSGRT0JwOFH2vXAsH" />
<param name="forceHTML" value="true"/>
<param name="isUI" value="true" />
</object>
Contributor
cpierce
Posts: 11
Registered: ‎12-09-2011
0 Kudos

Re: Forcing player to render html5 on google chrome browser to test; player always delivers flash

Any updates on this? Anyone? Is there some thing I am missing?

Brightcove Team
BC-Ben
Posts: 56
Registered: ‎06-30-2011
0 Kudos

Re: Forcing player to render html5 on google chrome browser to test; player always delivers flash

Hi cpierce

 

That video was transcoded to flv. HTML5 players can't play that, hence the message. For the widest compatibility, when you upload your videos into Video Cloud Studio, select to transcode to MP4.

 

Also see this doc for how to re-encode existing videos (pro and enterprise accounts) http://support.brightcove.com/en/docs/re-encoding-existing-videos