We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I reference this way:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <link href="http://vjs.zencdn.net/6.6.3/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/6.6.3/video.js"></script> <script src="https://rawgithub.com/spchuang/videojs-markers/master/dist/videojs-markers.js"></script> <link href="https://rawgithub.com/spchuang/videojs-markers/master/dist/videojs.markers.css" rel="stylesheet">
I can use this plugin just fine. (And it's great! Love it.) But if I try to reference it locally, in the way suggested in the documentation:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <link href="http://vjs.zencdn.net/6.6.3/video-js.css" rel="stylesheet"> <script src="http://vjs.zencdn.net/6.6.3/video.js"></script> <script src='videojs-markers/src/videojs.markers.js'></script>
I get this error:
Uncaught SyntaxError: Unexpected identifier
which is referencing this line in videojs.marker.js:
import videojs from 'video.js';
I am trying not to use npm or anything; I'm not sure why exactly why it's giving me a syntax error.
The text was updated successfully, but these errors were encountered:
I too have the same issue. Any updates?
Sorry, something went wrong.
Instead of <script src='videojs-markers/src/videojs.markers.js'></script> try using <script src='videojs-markers/dist/videojs.markers.js'></script>
<script src='videojs-markers/src/videojs.markers.js'></script>
<script src='videojs-markers/dist/videojs.markers.js'></script>
No branches or pull requests
If I reference this way:
I can use this plugin just fine. (And it's great! Love it.) But if I try to reference it locally, in the way suggested in the documentation:
I get this error:
Uncaught SyntaxError: Unexpected identifier
which is referencing this line in videojs.marker.js:
import videojs from 'video.js';
I am trying not to use npm or anything; I'm not sure why exactly why it's giving me a syntax error.
The text was updated successfully, but these errors were encountered: