clappr / dash-shaka-playback

A dash playback (based on shaka-player) for :clapper: Clappr
BSD 3-Clause "New" or "Revised" License
77 stars 27 forks source link

Adding load method for playback pattern creation #122

Closed leaofelipe closed 1 year ago

leaofelipe commented 1 year ago

Summary

  1. This PR adds a Load method, implementing a pattern for Clappr playbacks
  2. Update outdated dependencies

How to test

  1. Run the project
  2. Create a Window Player object, adding this lines on public/index.html file, at line 45:
    window.player = player
  3. Play the video
  4. Load another media and play it using:
    player.core.activePlayback.load('http://dash.edgesuite.net/dash264/TestCases/2c/qualcomm/2/MultiRes.mpd')
    player.core.activePlayback.play()
  5. The video should be played correctly.