bbc / adhere-lib Goto Github PK
View Code? Open in Web Editor NEWJavascript library for processing AD profile TTML2 and presenting with an HTML video element
License: Apache License 2.0
Javascript library for processing AD profile TTML2 and presenting with an HTML video element
License: Apache License 2.0
Thanks to @benburrill for the spot.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@babel/core
, @babel/eslint-parser
, @babel/preset-env
, @babel/register
)package.json
@ava/babel-preset-stage-4 4.0.0
xml-query 1.5.0
xml-reader 2.4.3
@babel/core 7.15.5
@babel/eslint-parser 7.15.4
@babel/preset-env 7.15.6
@babel/register 7.15.3
@cucumber/cucumber 7.3.1
ava 3.15.0
babel-loader 8.2.2
babel-plugin-istanbul 6.0.0
babel-plugin-transform-class-properties 6.24.1
base64-js 1.5.1
browser-env 3.3.0
eslint 7.32.0
eslint-config-walmart 2.2.1
eslint-plugin-filenames 1.3.2
eslint-plugin-import 2.24.2
eslint-plugin-jsx-a11y 6.4.1
eslint-plugin-react 7.25.2
nyc 15.1.0
tap-nyan 1.1.0
webpack 5.53.0
webpack-cli 4.8.0
webpack-dev-server 4.2.1
node >=12.12.0
.nvmrc
If playing back on a connection that isn't particularly fast, there will be a delay before the audio sources start playing back. We should make a cue for a certain number of seconds before hand to set .preload = true on the media so that it is ready to go when it hits play.
We should also at this point investigate if we can use https://www.w3.org/TR/media-frags/
#t=10,20
To truncate how much gets downloaded when preloading - the behaviour likely depends upon the browser, but worth looking at.
From bbc/Adhere#79 add clear instructions for how to embed in a page.
Sort out the sourcemap properly for the dev build. See https://webpack.js.org/configuration/devtool/#devtool
Make it possible and easy for downstreams to select which build they want.
This library has zero tests of any sort! It should have some...
Some objects are cached, e.g. in Parser.es6
. Before parsing a new document we should clean everything up, probably.
The TTML2 animate
element supports a fill
attribute.
The default of "remove"
means that at the end of the animation, the end value is reverted. In general we want the semantic associated with the alternative value, "freeze"
to apply, where whatever the end value is gets retained.
For example:
<div begin="0s" end="2.3s">
<animate begin="0.0s" end="0.2s" tta:gain="1;0.4"/>
<animate begin="2.1s" end="2.3s" tta:gain="0.4;1"/>
This varies the gain from 1 -> 0.4 between 0.0 and 0.2s, and then varies it from 0.4 -> 1 between 2.1s and 2.3s. But what happens between 0.2s and 2.1s? By default the gain value reverts to its default of 1, but we want to "freeze" it at 0.4 in this example:
<div begin="0s" end="2.3s">
<animate begin="0.0s" end="0.2s" fill="freeze" tta:gain="1;0.4"/>
<animate begin="2.1s" end="2.3s" tta:gain="0.4;1"/>
Our current default behaviour is actually "freeze" but that's wrong - it should be "remove" according to the spec.
If two audio cues are simultaneously active, it will cause problems with the default audio output - On a leaf node becoming inactive, the default audio output will be switched on, which will work when one leaf node is active but if two are, it will play the default output when the second is still active. Instead we should maintain a list of active leaf nodes, so we only turn on the default when 0 leaves are active. This might be lower priority to fix because although overlapping audio cues are allowed, they're a bit of an edge case.
All audio-participating nodes, that is, all those in the ancestry of leaf nodes, are producing audio nodes for the graph. Nodes in the XML with no audio attributes do no change the audio, but are still producing gain nodes with a gain of 1 and pan nodes with a pan of 0. We should remove these superfluous audio nodes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.