Guest User

Untitled

a guest
Apr 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <figure id="expose" class="expose-wrap" >
  2. <div class="exposed"></div>
  3. </figure>
  4.  
  5. import * as flowplayer from './flowplayer';
  6. export class DetailpageComponent implements OnInit {
  7. OnInit(){
  8. flowplayer('#expose>.exposed', {
  9. clip: {
  10. sources: [
  11. {
  12. type: 'application/x-mpegurl',
  13. src: url.m3u8
  14. }]
  15. }
  16. })
  17. }
  18. }
  19.  
  20. "flowplayer": "^7.2.5",
  21. "flowplayer-dashjs": "github:flowplayer/flowplayer-mpegdash",
Add Comment
Please, Sign In to add comment