Comments (6)
3.0.0
released. UI type definitions have been fixed, player type definitions have been removed from the UI package. They can now be found in bitmovin-player@8
.
from bitmovin-player-ui.
Thanks! Now the namespace works, however it would be better to be able to do
import { SourceConfig } from 'bitmovin-player-ui';
I think.
Yes that would be much nicer and will be fixed when we move the definitions from the UI to the player package.
For the second problem, can you please open a new issue with instructions to reproduce?
from bitmovin-player-ui.
Thanks for reporting! You can work around the issue by including the definitions at the top of your entry point file (path to node_modules
needs to be adjusted depending on where the file is placed):
/// <reference path="./node_modules/bitmovin-player-ui/src/ts/player.d.ts" />
from bitmovin-player-ui.
Thanks! Now the namespace works, however it would be better to be able to do import { SourceConfig } from 'bitmovin-player-ui';
I think.
The only problem is that now the webpack loader fails with this error:
D:/Praca/Projekty/oke/solocoo web/node_modules/bitmovin-player-ui/src/ts/player.d.ts
(678,7):
Property 'value' of type 'string | undefined' is not assignable to string index type 'string'..
from bitmovin-player-ui.
@protyposis
As I reported, the main.d.ts
file is invalid, in newest version it even don't have the export {}
statement so TS throw error File '(...)/node_modules/bitmovin-player-ui/dist/js/framework/main.d.ts' is not a module.
when I import bitmovin-player-ui
.
I see that in dist
folder of bitmovin-player-ui
package downloaded from npm there are many modules definition files, like uimanager.d.ts
. I would need access to the types defined there, to make bitmovinPlayerUI.UIManager.Factory.buildDefaultUI(...)
work.
What setup of compliation do you use that it throws away module.exports = playerui;
? Typescript compiler should easily emit correct type definition from main.ts
file
from bitmovin-player-ui.
Fixed in develop
/ v3.
from bitmovin-player-ui.
Related Issues (20)
- Bug: player unexpectedly changes Chromecast source
- Occasional error on Safari "Observed duplicate need key event with initData" HOT 5
- buildDefaultUi not available when attempting to manage UI internally HOT 6
- Playback rates configuration HOT 1
- Chromecast cookies HOT 1
- Settings Speed UI css
- seekbar on safari in livestream is visible
- SOURCE_HLS_STREAM_ERROR with Safari Native Player HOT 1
- How to make autoplay keep fullscreen mode?
- npm ERR! Build failed with error code: 1 while running npm install HOT 2
- Full screen button on player for Android App
- Bitmovin encoding distorts colors HOT 1
- Livestream stutters at higher playback speed HOT 1
- Overlapping Subtitle Queues break Subtitles in Safari HOT 1
- getMaxTimeShift value is negative non-zero for Safari HLS live streams HOT 1
- Feature Request: Use Document Picture-in-Picture Web API HOT 4
- pausedTimeshiftUpdater is not cleared HOT 2
- Accessing UIManager when replacing the built-in UI through location HOT 3
- I want to update the version of player HOT 1
- bleacherreport.com - impossible to go to exit fullscreen HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitmovin-player-ui.