Reply
Visitor
bennow
Posts: 9
Registered: ‎03-30-2010
0 Kudos

Re: Brightcove HTML5

Thanks Ashley ! The latest video we just posted was uploaded as h.264. It plays, but the audio levels got messed up when we uploaded. It also looks like a really really high res version of the file, rather than a lower res version I would hope gets served up to someone on an iphone,. Is there something else we need to do when uploading to make sure the files get uploaded properly and the right version gets displayed? 

Brightcove Team
BC-Ashley
Posts: 84
Registered: ‎12-06-2008
0 Kudos

Re: Brightcove HTML5

The short is yes.  I would recommend working with support directly to tune your encode settings.  They have a list of recommended settings that they should be able to apply to your account.

 

Generally speaking, the iPhone should be playing back somewhere between 150 - 350K version, which support can make sure you are set-up for!

 

Good luck!

-ashley

New Member
ToddEly
Posts: 2
Registered: ‎04-01-2010
0 Kudos

Re: Brightcove HTML5

I am trying to get a sample of the HTML5 player up and running.  I have the files set up and if you view the page with a regular browser you can see the video player.  But on the iPhone I get a JavaScript error:

MobileCompatibility.js

TypeError: Result of expression

'JSONResponse.items' [undefined] is not an object

 

The web page is located here:

http://local.cincinnati.com/commonwidgets/iphone/brightcove.html

 

Do I have something set-up incorrectly?

 

Thanks,

Todd

Brightcove Team
BC-Ashley
Posts: 84
Registered: ‎12-06-2008
0 Kudos

Re: Brightcove HTML5

It looks like you are getting an error because Universal Delivery Service is not enabled for your account.  If you go into the Brightcove studio and go to 'Account Settings' you will see an area to enable UDS.  Ensure that this is turned on.

 

HTH.

New Member
ToddEly
Posts: 2
Registered: ‎04-01-2010
0 Kudos

Re: Brightcove HTML5

I don't think I have access to make that change, as I don't see any option to make that change.  Couldn't I just make the change in the code have isUDS = false instead of true?  I did try that, and it came up with a different error.  I am trying to find out who in my organization has the ability to make the change.

 

-Todd

Brightcove Team
BC-Ashley
Posts: 84
Registered: ‎12-06-2008
0 Kudos

Re: Brightcove HTML5

You need to figure out if your account is PD (progressive download) or FMS (streaming).   If you go into the media module and edit a video file you can see how that file is being delivered (streaming or progressive download)/

 

If it is PD then you need to set isUDS=false as you suggest.

 

If it is FMS then you need to set isUDS=true and turn on UDS in your account settings.

 

-ashley

New Member
rprew
Posts: 1
Registered: ‎03-29-2010
0 Kudos

Re: Brightcove HTML5

[ Edited ]

We have this up and running with a playlist based player. Only the latest video in the playlist is offered and subsequent playlist content is not playable. Is this by design/limitation or am I missing something?

 

-Rob

Brightcove Team
BC-Ashley
Posts: 84
Registered: ‎12-06-2008
0 Kudos

Re: Brightcove HTML5

That is by design/limitation.  It is on our roadmap to greatly expand this.  So, in the future if you have a playlist based player it will automatically render a UI in HTML5 that that would enable navigation/playback of your playlists.

 

 

MFC
Visitor
MFC
Posts: 8
Registered: ‎04-05-2010
0 Kudos

Re: Brightcove HTML5

Ashley-

I was hoping you could help me with this.. on our site, our player code is as follows:

 

<script>
var urlparamV = getUrlParam('id');

if(urlparamV != "")
{

var respVid = document.getElementById("respVideo");
var strplayer = "";
strplayer = strplayer + "<object id='myPlayer'  class='BrightcoveExperience'>";
strplayer = strplayer + "<param name='bgcolor' value='#FFFFFF' />";
strplayer = strplayer + "<param name='width' value='922' />";
strplayer = strplayer + "<param name='height' value='739' />";
strplayer = strplayer + "<param name='playerID' value='61649174001' />";
strplayer = strplayer + "<param name='isVid' value='true' />";
strplayer = strplayer + "<param name='videoSmoothing' value='true' />";
strplayer = strplayer + "<param name='@videoPlayer'  value='"+ urlparamV + "' />";
strplayer = strplayer + "</object>";

respVid.innerHTML = strplayer;
}
else
{
    document.getElementById('despVideo').innerHTML = "Video not found.";
}
 </script>

 

Where would I put, and how would I format the following for our player:

<script type="text/javascript">
   runMobileCompatibilityScript('myExperience', 'anId');
</script>

 

Thanks in advance!


Contributor
uwvideo
Posts: 33
Registered: ‎04-05-2010
0 Kudos

Re: Brightcove HTML5

Hello Ashley,

Try this:

 

<script>
var urlparamV = getUrlParam('id');

if(urlparamV != "")
{

var respVid = document.getElementById("respVideo");
var strplayer = "";
strplayer = strplayer + "<object id='myPlayer'  class='BrightcoveExperience'>";
strplayer = strplayer + "<param name='bgcolor' value='#FFFFFF' />";
strplayer = strplayer + "<param name='width' value='922' />";
strplayer = strplayer + "<param name='height' value='739' />";
strplayer = strplayer + "<param name='playerID' value='61649174001' />";
strplayer = strplayer + "<param name='isVid' value='true' />";
strplayer = strplayer + "<param name='videoSmoothing' value='true' />";
strplayer = strplayer + "<param name='@videoPlayer'  value='"+ urlparamV + "' />";
strplayer = strplayer + "</object>";
<script type="text/javascript">
   runMobileCompatibilityScript('myExperience', 'anId');
</script>

respVid.innerHTML = strplayer;
}
else
{
    document.getElementById('despVideo').innerHTML = "Video not found.";
}
 </script>