Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_this2.dash.getDebug(...).setLogToBrowserConsole is not a function #932

Closed
interpegasus opened this issue Jun 12, 2020 · 5 comments
Closed

Comments

@interpegasus
Copy link

interpegasus commented Jun 12, 2020

Current Behavior

Playback works but the console displays the following error during DASH playback.
_this2.dash.getDebug(...).setLogToBrowserConsole is not a function

Expected Behavior

No errors in console. And full support for DASH JS

Steps to Reproduce

                    <ReactPlayer
                        url="https://dash.akamaized.net/envivio/EnvivioDash3/manifest.mpd"
                        playing={true}
                        controls={true}
                        config={{
                            file: {
                                forceDASH: true,
                                dashVersion: "3.1.1",
                            },
                        }}
                    />

Environment

Other Information

Thanks

@afzaalahmad
Copy link
Contributor

It might be due to your version because I am unable to reproduce this.
here is the sandbox of your problem. no error in console.
try updating your version to latest.

@interpegasus
Copy link
Author

interpegasus commented Jun 12, 2020

Thanks for the fast response. It looks like it is due to the Dash JS version.

setLogToBrowserConsole was deprecated and removed on version 3.

Dash-Industry-Forum/dash.js#3018

Screen Shot 2020-06-12 at 3 31 00 PM

@interpegasus
Copy link
Author

interpegasus commented Jun 12, 2020

Currently I am using the npm version of react player:

"react-player": {
            "version": "2.3.0"

@interpegasus
Copy link
Author

interpegasus commented Jun 12, 2020

@cookpete
Copy link
Owner

Fixed by #933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants