Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Importing OvenPlayer is undefined even though in debugger it is not.

See original GitHub issue

When 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

timothybeancommented, Oct 8, 2020

@walsong Can you let me know what other player you used?


walsongcommented, Jun 7, 2020

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.

Read more comments on GitHub >

github_iconTop 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 ( ). 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 daily 1 ... daily 1 daily 1 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found