Closed fancofang closed 4 years ago
I fix it already.
There is a rule about initData
The initData attribute will be null if the media data is not CORS-same-origin or is mixed content. Applications may retrieve the Initialization Data from an alternate source.
So, I set crossorigin="same-origin"
in
Hi, I used the example you gave, it worked. The origin example:
But when I try to change the src to cloud url, it doesn't work even it`s the same encrypted video. I can't get the InitData in 'encrypted' event.
Is there anything I get wrong? The Cloud url is public, please feel free to try it. Thank you.