SRGSSR / pillarbox-web

Pillarbox is a versatile media playback ecosystem engineered for the web.
http://web.pillarbox.ch/api
MIT License
14 stars 1 forks source link

feat(demo): add DRM support to demo page #68

Closed jboix closed 12 months ago

jboix commented 12 months ago

Description

Closes #64

Changes made

Modified examples with license URLs to adhere to the expected video-js format of 'keySystems', specifying the vendor and URL as such :

{
  'title': '...',
  'src': ' ...',
  'keySystems': {
    'com.widevine.alpha': '...'
  }
}
github-actions[bot] commented 12 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements 98.35% 477/485
🟒 Branches 93.42% 227/243
🟒 Functions 100% 137/137
🟒 Lines 99.14% 460/464

Test suite run success

142 tests passing in 9 suites.

Report generated by πŸ§ͺjest coverage report action from a0f2ac7084499726c0337f32768dfaa8e124b912

amtins commented 12 months ago

@jboix we should consider a way to add a license/certificate URL when loading a custom source. Of course de cheval, that would be another story.