moeplayer / angular-moeplayer Goto Github PK
View Code? Open in Web Editor NEWAn Angular 6.x video player component based on DPlayer
License: MIT License
An Angular 6.x video player component based on DPlayer
License: MIT License
the warning "Module not found: Error: Can't resolve 'stream'" can resolved by run npm install stream --save-dev
and ./node_modules/dashjs/build/typings/index.d.ts missing a curly braces in line 393, add a '}' to this line can resolve compile problem
Hi,
I have a m3u8 stream url. The player is unable to play it. Below is one such sample url.
https://dwstream1-lh.akamaihd.net/i/dwstream1_live@120422/master.m3u8
Here is how I try to use it:
<d-player preload="auto" [video]="{url: 'https://dwstream1-lh.akamaihd.net/i/dwstream1_live@120422/master.m3u8'}" >
</d-player>
Best Regards,
Sandeep
Hi,
Seems like I can provide only a string based url. This restricts the player from playing video urls from cross origin. It would be nice if the player supports SafeUrl.
Hi,
I have a m3u8 stream url. The play is unable to play it. Below is one such sample url.
https://dwstream1-lh.akamaihd.net/i/dwstream1_live@120422/master.m3u8
Here is how I try to use it:
<d-player preload="auto" [video]="{url: 'https://dwstream1-lh.akamaihd.net/i/dwstream1_live@120422/master.m3u8'}" ></d-player>
Best Regards,
Sandeep
<d-player #player dpHls [video]="{url: source?.url}" class="player-container"></d-player>
is there any way by which we can handle auto play event in angular ? How to handle trigger event programatically is not so much clear.
Any help would be highly appreciated
As some style are only apply on div element, it requires that container need to be div element instead of
component's name, <d-player>
The video aren't properly rendered as I expected, play button volume and the rest and wrongly place..
After I have change <d-player>
to <div>
in chrome's dev-tools it works.
change component to a directive may be a solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.