Comments (19)
😄 don't worry enjoy your Bastille Day there.
from dash-shaka-playback.
@kslimani Hey thanks for the notice! I'll get back to you with the test results on monday, but code-wise it looks all great! :)
from dash-shaka-playback.
I really liked your current proposition. 👍 Thank you @kslimani
from dash-shaka-playback.
@leandromoreira i see also that in current master, a compilation "behaviour" has been broken since 2.0.7 release tag :
Previously, npm run build
was compiling unminified es5 "dist" version and npm run release
was compiling the minified es5 "dist" version. Do you want me to restore this in my (incoming soon) PR ?
(i ask because the bump shell script is expecting this behaviour).
I propose also to add an npm run dist
shortcut which will run the build
and release
npm tasks.
from dash-shaka-playback.
Do you want me to restore this in my (incoming soon) PR ?
No, I think this is better.
from dash-shaka-playback.
@leandromoreira then you should revert, because in my PR i restore the previous behaviour
EDIT: just describe which npm run tasks you wants and i will update the PR.
from dash-shaka-playback.
I loved the npm run dist
that does all. Is it now releasing a minified es6?
from dash-shaka-playback.
In the current merged PR :
npm run build
create the unminified es5 plugin bundle filenpm run release
create the two minified es5 plugin bundle files (with and without shaka as external lib)npm run dist
==>npm run lint && npm run build && npm run release
EDIT :
There is (far i known) no minified es6.
The bundle compilaton tasks are also creating the source maps files for each bundle (as @tchakabam introduced).
from dash-shaka-playback.
So, if you run npm run dist
, it will run lint task and then generate the following files :
// The es5 plugin unminified with shaka-player bundled (and source map) ~ 180k
dash-shaka-playback.js
dash-shaka-playback.js.map
// The es5 plugin minified with shaka-player bundled (and source map) ~ 171k
dash-shaka-playback.min.js
dash-shaka-playback.min.js.map
// The es5 plugin minified without shaka-player bundled (and source map) ~ 7k
dash-shaka-playback-external.min.js
dash-shaka-playback-external.min.js.map
from dash-shaka-playback.
I think this solution you did is perfect!
from dash-shaka-playback.
Ok, then, no revert is required 👍
@leandromoreira please note, that you will need to run yourself (or another core member) the dist
task and commit to master in order to create the new bundle files.
from dash-shaka-playback.
@tchakabam could you please get current master and verify if it satisfy your needs ?
from dash-shaka-playback.
Ohh yeah, I'm planning to do a new release, @kslimani did you tried with newer clappr? can I npm publish
it too?
If the answer is yes for all questions above I'll be happy to release a new version, are you girls/guys @tchakabam @vagnervjs @towerz okay with that?
from dash-shaka-playback.
That's fine by me, great work again @kslimani!
from dash-shaka-playback.
I have not made intensive tests, i just checked that webpack-dev-server demo page run with npm start
was working. I was relaying on @tchakabam to performs additional tests. (especially the "shaka less" bundle)
BTW @leandromoreira i am also planning to add new Clappr closed caption capability support to this plugin. (but no eta, maybe next week, it is Bastille Day tomorrow in France). I will build a custom Clappr player from master to tests as it is not released yet.
from dash-shaka-playback.
@kslimani hey but what is now with an external bundle that is not minified?
seems we dont have that anymore now :(
from dash-shaka-playback.
i ll make a PR for that ;) otherwise looks fine to me.
from dash-shaka-playback.
from dash-shaka-playback.
It's done! 💃 thanks a lot, @kslimani and @tchakabam
from dash-shaka-playback.
Related Issues (20)
- Does not play specific manifests with a new url in location . HOT 1
- Clappr doesn't load my mpd
- Adding headers to requests HOT 1
- Playback does not work with dash-shaka-playback v2.3.1 build with shaka-player v2.5.10
- Captions not working
- Shaka fails to play when Clappr.autoplay is false HOT 2
- Shaka namespace needed HOT 3
- SSL Issue locally HOT 3
- External subtitle support HOT 6
- Typo variable make level selector pulsing forever HOT 1
- SMPTE-TT bitmap based Subtitle Support HOT 6
- dash-shaka player could not fetch the SMPTE-TT images HOT 9
- getManifestUri is deprecated
- Error: dash_shaka_playback_1_1002 HOT 7
- Playback ready event logic issue HOT 7
- Level label formatting issue HOT 11
- dash-shaka-playback is not updated with Shaka version above 2.5.5
- dist folder not updated with latest built library
- Error: libwv exception: Invalid Keyid in PSSH
- I want to know how to set default level
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-shaka-playback.