Does "Setting the log level" work ?

779 views
Skip to first unread message

Xiaoming Ding

unread,
Aug 7, 2017, 1:42:00 AM8/7/17
to Shaka Player Users
I modified myapp.js and index.hml to "Verbose 2" log level  as https://github.com/google/shaka-player/blob/master/docs/tutorials/debugging.md instucted . 

But the console log info. does not make any difference from the one playing with shaka-player.compiled.debug.js.
Is that sth. I missed ?


Regards !

Xiaoming Ding

Joey Parrish

unread,
Aug 7, 2017, 3:20:06 PM8/7/17
to Shaka Player Users
Hi Xiaoming,

Are you using the uncompiled library?  There is no logging in the compiled library.

Do you have a filter on the logs or on the levels shown in the JS console?  See the attached screenshot for an example of what this looks like in Chrome 60.


Thanks,
Joey


--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/66b12171-7782-4ad2-9fd6-0d7204ad9268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dmitry Petukhov

unread,
Aug 8, 2017, 2:07:17 AM8/8/17
to Shaka Player Users
Hello Joey, how to use uncomplied version of shaka-player from NPM in ES6 code?

вторник, 8 августа 2017 г., 0:20:06 UTC+5 пользователь Joey Parrish написал:
Hi Xiaoming,

Are you using the uncompiled library?  There is no logging in the compiled library.

Do you have a filter on the logs or on the levels shown in the JS console?  See the attached screenshot for an example of what this looks like in Chrome 60.


Thanks,
Joey

On Sun, Aug 6, 2017 at 10:42 PM, Xiaoming Ding <zhao...@gmail.com> wrote:
I modified myapp.js and index.hml to "Verbose 2" log level  as https://github.com/google/shaka-player/blob/master/docs/tutorials/debugging.md instucted . 

But the console log info. does not make any difference from the one playing with shaka-player.compiled.debug.js.
Is that sth. I missed ?


Regards !

Xiaoming Ding

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.

Joey Parrish

unread,
Aug 8, 2017, 11:06:03 AM8/8/17
to Shaka Player Users
Hi Dmitry,

The instructions for uncompiled mode are the same, whether you're using npm or github, es5 or es6.  Please see the debugging tutorial here: 

https://shaka-player-demo.appspot.com/docs/api/tutorial-debugging.html

Thanks,
Joey


On Aug 7, 2017 23:07, "Dmitry Petukhov" <dmitryv...@gmail.com> wrote:
Hello Joey, how to use uncomplied version of shaka-player from NPM in ES6 code?

вторник, 8 августа 2017 г., 0:20:06 UTC+5 пользователь Joey Parrish написал:
Hi Xiaoming,

Are you using the uncompiled library?  There is no logging in the compiled library.

Do you have a filter on the logs or on the levels shown in the JS console?  See the attached screenshot for an example of what this looks like in Chrome 60.


Thanks,
Joey

On Sun, Aug 6, 2017 at 10:42 PM, Xiaoming Ding <zhao...@gmail.com> wrote:
I modified myapp.js and index.hml to "Verbose 2" log level  as https://github.com/google/shaka-player/blob/master/docs/tutorials/debugging.md instucted . 

But the console log info. does not make any difference from the one playing with shaka-player.compiled.debug.js.
Is that sth. I missed ?


Regards !

Xiaoming Ding

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
Message has been deleted

Joey Parrish

unread,
Aug 18, 2017, 6:47:48 PM8/18/17
to Shaka Player Users
Hi Dmitry,

When you install Shaka Player from npm, you get the full sources you would get from github (e.g. library sources in lib/) plus the compiled library (in dist/).


$ npm install shaka-player
/home/joeyparrish/foo
└── shaka-...@2.1.7 

$ ls node_modules/shaka-player/
AUTHORS  build  CHANGELOG.md  CONTRIBUTING.md  CONTRIBUTORS  demo  dist  docs  externs  index.html  karma.conf.js  lib  LICENSE  package.json  README.md  shaka-player.uncompiled.js  support.html  test  third_party

$ ls node_modules/shaka-player/lib/
abr  cast  dash  debug  hls  media  net  offline  player.js  polyfill  util

$ ls node_modules/shaka-player/dist/
deps.js  shaka-player.compiled.debug.externs.js  shaka-player.compiled.debug.js  shaka-player.compiled.debug.map  shaka-player.compiled.externs.js  shaka-player.compiled.js  shaka-player.compiled.map


Instructions for using the uncompiled library can be found here: https://shaka-player-demo.appspot.com/docs/api/tutorial-debugging.html

Thanks,
Joey


On Fri, Aug 18, 2017 at 4:40 AM, Dmitry Petukhov <dmitryv...@gmail.com> wrote:

How to get debug version of shaka player from npm?

вторник, 8 августа 2017 г., 20:06:03 UTC+5 пользователь Joey Parrish написал:

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages