Closed amtins closed 4 months ago
PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-03-04 15:08 UTC
St.:grey_question: |
Category | Percentage | Covered / Total |
---|---|---|---|
π’ | Statements | 98.78% (+0.88% πΌ) |
566/573 |
π’ | Branches | 95.55% (+0.97% πΌ) |
279/292 |
π’ | Functions | 99.37% (+0.02% πΌ) |
157/158 |
π’ | Lines | 99.26% (+0.74% πΌ) |
538/542 |
186 tests passing in 9 suites.
Report generated by π§ͺjest coverage report action from 3e07a3bddb6c826d48ca469ea64d4fc6fe07ad37
:tada: This PR is included in version 1.2.0 :tada:
The release is available on:
npm package (@main dist-tag)
Your semantic-release bot :package::rocket:
Description
Expose the title and URL of the media image from the mediaComposition.
These properties can be accessed as follows:
Resolves #215 by reducing the number of lines in the
middleware
function and eliminating the need to use themediaComposition
insetSource
.Changes made
title
andchapterImageUrl
properties to thegetMainResources
functiongetMainResources
properties alphabeticallysrcMediaObj
construction functions ingetSrcMediaObj
addTextTracks
functionmediaComposition
in theupdateTitleBar
andupdatePoster
withsrcMediaObj
blockReason
parameter from theblockingReason
functionhandleCurrentTime
,handleSetCurrentTime
andhandleSetSource
functions to reducemiddleware
line count