GithubHelp home page GithubHelp logo

mysuf / videojs-ima-player Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 7.0 5.37 MB

video ad plugin for video.js

Home Page: https://mysuf.github.io/videojs-ima-player/

License: Other

JavaScript 88.60% HTML 3.05% CSS 8.35%
videojs videojs-plugin ima-sdk video-ads

videojs-ima-player's People

Contributors

mysuf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

videojs-ima-player's Issues

Does this SDK support playing multiple ads

Hi
How to set up to play multiple ads, adTagUrl settings seem to only expect strings
Try to aggregate multiple ads into VMAP, then pass in adsResponse, but not work
If I reset the ad address in the ima complete event, I receive an error player.ima is not a function

Does the player support the playing of skippable ads on smart TV?

 I am developing The advertising function of smart TV on tizen simulator.Other types of ads work fine, but skipping ads are reported with an error of 1005.
I try to set up playsinline properties and setDisableCustomPlaybackForIOS10Plus to true, Unfortunately the same error was reported.

fix IOS skippable ads fullscreen toggle

Now, it behaves exactly how https://developers.google.com/interactive-media-ads/docs/sdks/html5/skippable-ads describes. It forces content player to enter/exit fullscreen which break fullscreen implementation on mobile IOS. The solution will be probably not supporting tech's fullscreen on IOS and to force full window instead.

The question is how it should work when content player is already in fullscreen - programatically exited fullscreen and switch to full window could lead to blinking and bad user experience...

Can't tap into the `adend` event

How can I access the adend event? Sometimes the player doesn't start and I want to try to run a player.play() after the ad if I can.

player.ima({adTagUrl: macroUrl});

player.ima.on('adend', function(event){
    console.log('AD ENDED')
})

Complains that player.ima.on is not a function.

Thanks, awesome module!

How to bind a function to a error event?

Neither of the following 2 ways work.

player.ima.on("adserror", function(e) {
    console.log(e);
}
player.on("adserror", function(e) {
    console.log(e);
}

How could I achieve that?

Thx!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.