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

Can I able to add Bitmovin Analytics in Shaka player? #7924

Open
Ravi-79 opened this issue Jan 22, 2025 · 2 comments
Open

Can I able to add Bitmovin Analytics in Shaka player? #7924

Ravi-79 opened this issue Jan 22, 2025 · 2 comments
Labels
type: question A question from the community

Comments

@Ravi-79
Copy link

Ravi-79 commented Jan 22, 2025

Have you read the Tutorials?
Yes

Have you read the FAQ and checked for duplicate open issues?
Yes, I couldn't be able to find any

If the question is related to FairPlay, have you read the tutorial?

Not related to Fairplay

What version of Shaka Player are you using?
4.12.5

What browser and OS are you using?
Windows Edge.

Please ask your question
I tried to integrate the Bitmovin in my player analytics. But it is throwing this following error.
Cannot set property load of # which has only a getter
at e.wrapPlayerLoad (bitmovinanalytics.min.js:11:90438)

In the documentation they mentioned that it is possible to add the Bitmovin analytics on Shaka player.
Is it only possible, If I use the Shaka player library alone without the Shaka UI?
Reference document from Bitmovin: https://developer.bitmovin.com/playback/docs/setup-analytics-web#:~:text=If%20you%20are%20using%20the%20Bitmovin%20Player%20the,the%20Player%20configuration%20by%20defining%20an%20analytics%20key.

FYI, I am using the Shaka player in my project along with the Shaka UI as well.
And I am getting the Shaka player object controls.getplayer(); method

@Ravi-79 Ravi-79 added the type: question A question from the community label Jan 22, 2025
@avelad
Copy link
Member

avelad commented Jan 24, 2025

It's a very good question, I think the problem is that the UI uses CastProxy, and it doesn't return a video and player object as such but rather it returns "copies". See: https://github.com/shaka-project/shaka-player/blob/main/lib/cast/cast_proxy.js#L136-L158

I think you'll have to ask Bitmovin directly.

We are planning to change our Cast integration anyway, see: #4214

FYI @joeyparrish

@avelad avelad added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jan 24, 2025
@Ravi-79
Copy link
Author

Ravi-79 commented Jan 24, 2025

@avelad, Thanks for the update!
We'll check with the Bitmovin team, meanwhile we'll keep an eye on the removing the Cast integration process as well.
Once the cast integration is changed, can we able to get the Shaka player object directly instead getting a read-only object?

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question A question from the community
Projects
None yet
Development

No branches or pull requests

3 participants