Importing OvenPlayer is undefined even though in debugger it is not.
See original GitHub issueWhen I import in vue OvenPlayer like this after installing it:
import { OvenPlayer } from 'OvenPlayer'
and then do OvenPlayer("player", {})
, I get the error "Type Error: cannot read property create of undefined"
When I do console.log(OvenPlayer)
, I get ‘undefined’ also.
However, in the debugger I have access to OvenPlayer which is not undefined but this:
Object {playerList: Array(0), create:, getPlayerList:, ...}
Is the issue with webpack?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Imported module undefined during Debug - Stack Overflow
Undefined variables while debugging must be caused by wrong/missing name mappings in sourcemaps: if the variable is renamed while ...
Read more >Solved: Custom widget working on my local Thingworx, not o...
Solved: Hello, I created a custom widget in order to integrate the OvenMedia WebRTC player ( https://airensoft.gitbook.io/ovenplayer/ ). I included.
Read more >Introduction - OvenPlayer - OvenMediaEngine
ovenplayer.js uses UMD (Universal Module Definition) pattern that various module loaders can import (e.g., Plain HTML, AMD, CommonJS).
Read more >constant vue tv
This means that Nuxt will: Import Vuex, Add the store option to the root Vue …. lower than rivals like Sling TV and...
Read more >trending-packages-1.xml - Openbase
... daily 1 https://openbase.com/js/@samuelmarina/is-even daily 1 ... daily 1 https://openbase.com/js/@trivago/prettier-plugin-sort-imports daily 1 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@walsong Can you let me know what other player you used?
Thanks
Actually, I did not have too much time to spend on solving the problem. I decided to use another player instead. Thanks though, perhaps in a couple of weeks I will have a look again.