googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
445 stars 285 forks source link

How to use videojs-ima with video.core? #1110

Closed JonasWater closed 1 year ago

JonasWater commented 1 year ago

I want to use videojs-ima in video.core, not in video.js. How to do?

Can you help me? thx

Kiro705 commented 1 year ago

Hello @JonasWater ,

This plugin is intended to work with the videoJS player. Can you share any documentation on video.core, as I am not familiar with the player?

Thank you, Jackson IMA SDK team

JonasWater commented 1 year ago

Thank your reply. Do you have some ideas just like this?

I hope so, Can videojs-ima plugin support this?

import videoJS from 'video.js/core';
import videojsIma from 'videojs-ima';
videojsIma(videoJS);

The same issue from videojs-contrib-ads plugin https://github.com/videojs/videojs-contrib-ads/issues/480

image

@Kiro705 Thx~

Kiro705 commented 1 year ago

Hello @JonasWater,

I do not believe this is supported, since it may break this plugin's stream playback functionality.

You may need to use the standard VideoJS player to use this plugin.

Jackson IMA SDK team

JonasWater commented 1 year ago

OK, thx~