Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

TypeError: video.setAttribute is not a function #119

Open
pavelgramenitsky opened this issue Feb 28, 2020 · 0 comments
Open

TypeError: video.setAttribute is not a function #119

pavelgramenitsky opened this issue Feb 28, 2020 · 0 comments

Comments

@pavelgramenitsky
Copy link

when trying to create a sprite with a video texture, an error appears

[Unhandled promise rejection: TypeError: video.setAttribute is not a function. (In 'video.setAttribute('webkit-playsinline', '')', 'video.setAttribute' is undefined)]

  • node_modules\pixi.js\lib\core\textures\VideoBaseTexture.js:269:20 in fromUrl
  • node_modules\pixi.js\lib\core\textures\Texture.js:411:59 in fromVideoUrl
  • node_modules\regenerator-runtime\runtime.js:45:44 in tryCatch
  • node_modules\regenerator-runtime\runtime.js:271:30 in invoke
  • node_modules\regenerator-runtime\runtime.js:45:44 in tryCatch
  • node_modules\regenerator-runtime\runtime.js:135:28 in invoke
  • node_modules\regenerator-runtime\runtime.js:170:17 in Promise$argument_0
  • node_modules\promise\setimmediate\core.js:45:7 in tryCallTwo
  • node_modules\promise\setimmediate\core.js:200:23 in doResolve
  • node_modules\promise\setimmediate\core.js:66:12 in Promise
  • node_modules\regenerator-runtime\runtime.js:169:27 in Promise$argument_0
  • node_modules\regenerator-runtime\runtime.js:192:38 in enqueue
  • node_modules\regenerator-runtime\runtime.js:216:8 in exports.async
  • App.js:8:26 in onContextCreate
  • node_modules\expo-gl\build\GLView.js:24:27 in _onSurfaceCreate
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:307:15 in invokeGuardedCallbackImpl
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:531:36 in invokeGuardedCallback
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:555:30 in invokeGuardedCallbackAndCatchFirstError
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:722:42 in executeDispatch
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:744:20 in executeDispatchesInOrder
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:907:29 in executeDispatchesAndRelease
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:889:12 in forEachAccumulated
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:932:21 in runEventsInBatch
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:1096:19 in runExtractedPluginEventsInBatch
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2796:6 in batchedUpdates$argument_0
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:18791:14 in batchedUpdates$1
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2709:30 in batchedUpdates
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2794:17 in batchedUpdates$argument_0
  • node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2814:26 in receiveEvent
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:436:47 in __callFunction
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:111:26 in __guard$argument_0
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:384:10 in __guard
  • node_modules\react-native\Libraries\BatchedBridge\MessageQueue.js:110:17 in __guard$argument_0
  • [native code]:null in callFunctionReturnFlushedQueue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant