As a flash project is separate from video.js in version 7, I try to combine the script in the component, like the code (https://gist.github.com/kasidesh/2d119252f37407fbf8a399651432ef2e).
try this code
https://gist.github.com/kasidesh/2d119252f37407fbf8a399651432ef2e
Play the video with flash when some browser does not support HTML5 with the mediaSource
Currently I can't play the video with flash player on video.js 7+ (in case I open IE11 on Windows 7
馃憢 Thanks for opening your first issue here! 馃憢
If you're reporting a 馃悶 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Hey, I updated your example a bit in a live codesandbox: https://codesandbox.io/s/xl5m5q2wjo
If you pop it out into another view and force enable flash in chrome you should be able to see it working: https://xl5m5q2wjo.codesandbox.io/
The main change I did was swap out the dependency to point at @brightcove/videojs-flashls-source-handler, I think that's the one the one to use.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey, I updated your example a bit in a live codesandbox: https://codesandbox.io/s/xl5m5q2wjo
If you pop it out into another view and force enable flash in chrome you should be able to see it working: https://xl5m5q2wjo.codesandbox.io/
The main change I did was swap out the dependency to point at
@brightcove/videojs-flashls-source-handler, I think that's the one the one to use.
This code is working fine!
This work!
I waste time to find solution for solve @brightcove/videojs-flashls-source-handler Error registerSourceHandle.
That is my fault, I use yarn it's not work when I change to 'npm' it solved.
@gkatsev Hello, could you explain why it working after pop it out. It doesn't work when I used the same code in storybook.
codesandbox and similar sites load the preview in an iframe which is severely restricted in what it can do, such as use flash. When you pop it out, those restrictions are lifted and you can allow flash to run on that page.
Most helpful comment
Hey, I updated your example a bit in a live codesandbox: https://codesandbox.io/s/xl5m5q2wjo
If you pop it out into another view and force enable flash in chrome you should be able to see it working: https://xl5m5q2wjo.codesandbox.io/
The main change I did was swap out the dependency to point at
@brightcove/videojs-flashls-source-handler, I think that's the one the one to use.