PetroFrolov / vast-video-js

VAST-Ad plugin for HTML5 by video.js
79 stars 33 forks source link

Flash issue #27

Open doublex opened 10 years ago

doublex commented 10 years ago

The vast-plugin from the "v4" branch works with "html5", but not with "flash". Testcase (only mp4 video files): http://doppelbauer.name/test/

Thanks a lot Markus

sagarsg commented 10 years ago

Hi,

Have to tested this on Internet explorer? I do not the see preroll ad.

PetroFrolov commented 10 years ago

Hi! You are right. VideoJS v4 dont'tell about tech it used instead of v3.2 ( So now I don't know how to check video support for flash.

doublex commented 10 years ago

Hi Petro,

Is it possible to workaround this issue? Something like:

(function() {
  vjs.plugin('vastPlugin', function(options) {
    var init;
    init = function() {
      var player = this;
      if (player.techName !== "Html5") {
        ...;
      }
    };
    this.on("loadedmetadata", init);
  });
}).call(this);