htmlaframempeg-dash

Mpd file with A-Frame does not play


I am trying to play a 360 degree .mpd file with A-Frame. Here's the codepen example.

The video does not show up at all and the console log shows:

components:texture:warn Video element was defined withoutsrcnorsrcObjectattributes. three.js:20093 WebGL: INVALID_VALUE: texImage2D: no video 255index.html:1 [.Offscreen-For-WebGL-0x22a5f11bf200]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering. index.html:1 WebGL: too many errors, no more errors will be reported to the console for this context.

Please advise what A-Frame is not liking here or am I missing something.


Solution

  • Ok. I got it to work by loading the file using shaka player. Dash.js also works. So no worries. A-Frame picks it up and renders it well once the file is loaded with external libraries like shaka or dash.js