Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <figure id="expose" class="expose-wrap" >
- <div class="exposed"></div>
- </figure>
- import * as flowplayer from './flowplayer';
- export class DetailpageComponent implements OnInit {
- OnInit(){
- flowplayer('#expose>.exposed', {
- clip: {
- sources: [
- {
- type: 'application/x-mpegurl',
- src: url.m3u8
- }]
- }
- })
- }
- }
- "flowplayer": "^7.2.5",
- "flowplayer-dashjs": "github:flowplayer/flowplayer-mpegdash",
Add Comment
Please, Sign In to add comment