I have an issue with brightcove player on mobile (html5 is a mobile fallback of brightcove, on desktop it uses by its own a flash player, without issues). Loading a page with video (containing only video, without any other code) i get with mobile user agents following error in the console:
BrightcovePlayer_api_ad.js:415 Uncaught (in promise) DOMException: The element has no supported sources.
setContent @ BrightcovePlayer_api_ad.js:415
loadError @ BrightcovePlayer_api_ad.js:633
showErrorMessage @ BrightcovePlayer_api_ad.js:461
handleContentError @ BrightcovePlayer_api_ad.js:430
onMediaError @ BrightcovePlayer_api_ad.js:427
dispatchEvent @ BrightcovePlayer_api_ad.js:9
redispatch @ BrightcovePlayer_api_ad.js:9
dispatchEvent @ BrightcovePlayer_api_ad.js:9
errorHandler @ BrightcovePlayer_api_ad.js:374
g @ BrightcovePlayer_api_ad.js:2
dispatch @ BrightcovePlayer_api_ad.js:2
i @ BrightcovePlayer_api_ad.js:2
null:1 GET http://c.brightcove.com/services/viewer/null 404 (Not Found)
Video parameters look like:
<p>
<div style="display:none"></div>
<script type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
<script type="text/javascript" src="http://static.example.com/js/brightcove-ad.js?qqq"></script>
<object id="myExperience-aaa-play" class="BrightcoveExperience">
<param name="bgcolor" value="#FFFFFF" />
<param name="playerID" value="xxx" />
<param name="playerKey" value="yyy" />
<param name="isVid" value="true" />
<param name="isUI" value="true" />
<param name="dynamicStreaming" value="true" />
<param name="@videoPlayer" value="zzz" />
<param name="includeAPI" value="true" />
<param name="autoStart" value="true" />
<param name="templateLoadHandler" value="onTemplateLoad" />
<param name="templateReadyHandler" value="onTemplateReady" />
</object></p>
<p>
Errors rise in Chrome and Firefox on any mobile user agent, but the error description i can get only on iOS-based user agents, in Chrome and Firefox. Using Android or Blackberry i get the same error but without error description in the console, or the video-container isn't shown at all.
Any recommendation highly appreciated!