GithubHelp home page GithubHelp logo

Comments (6)

flavioribeiro avatar flavioribeiro commented on June 24, 2024

Hi @deedos thanks for reporting this. Maybe you're facing the same problem as @macbroadcast. It seems that clappr isn't exposing ui_plugin, I'll take a deep look on this.

from bemtv.

flavioribeiro avatar flavioribeiro commented on June 24, 2024

hi @deedos I could reproduce this problem by importing clappr js below p2phlsstats.js.

You need to put it above, like this:

  <script type="text/javascript" charset="utf-8" src="jquery.js"></script>
  <script type="text/javascript" charset="utf-8" src="underscore.js"></script>
  <script type="text/javascript" charset="utf-8" src="clappr.light.min.js"></script>
  <script type="text/javascript" charset="utf-8" src="p2phls.js"></script>
  <script type="text/javascript" charset="utf-8" src="p2phlsstats.js"></script>

Note that I'm using clappr.light.min.js but you can safely change for clappr.min.js or clappr.js according to your clappr filename.

After test, please let me know if it solves your issue.

from bemtv.

deedos avatar deedos commented on June 24, 2024

Hi Flávio.

I changed that but did no fix. I tried that plus changing the javascript to
invoke the player (copied from bem.tv webpage) ans then worked..

<script> var playerElement = document.getElementById("player-wrapper"); player = new WP3.Player({ sources: ['http://mygreatcontent.m3u8'], plugins: { playback: [P2PHLS], container: [P2PHLSStats] }, width: 640, height: 360, poster: "http://www.bem.tv/assets/poster.png", watermark: "http://bem.tv/assets/watermark3.png" }); player.attachTo(playerElement); </script>

thanks

2014-08-27 15:51 GMT-03:00 Flávio Ribeiro [email protected]:

hi @deedos https://github.com/deedos I could reproduce this bux by
importing clappr js below p2phlsstats.js.

You need to put it above, like this:

<script type="text/javascript" charset="utf-8" src="jquery.js"></script> <script type="text/javascript" charset="utf-8" src="underscore.js"></script> <script type="text/javascript" charset="utf-8" src="clappr.light.min.js"></script> <script type="text/javascript" charset="utf-8" src="p2phls.js"></script> <script type="text/javascript" charset="utf-8" src="p2phlsstats.js"></script>

Note that I'm using clappr.light.min.js but you can safely change for
clappr.min.js or clappr.js according to your clappr filename.

After test, please let me know if it solves your issue.


Reply to this email directly or view it on GitHub
#33 (comment).

Daniel Roviriego
(21) 35920701
(21) 99561654

from bemtv.

flavioribeiro avatar flavioribeiro commented on June 24, 2024

hi @deedos,

So the problem is on the index.html delivered or the tutorial?

from bemtv.

deedos avatar deedos commented on June 24, 2024

most probably the index.html that comes with the source.

cheers

2014-08-27 16:54 GMT-03:00 Flávio Ribeiro [email protected]:

hi @deedos https://github.com/deedos,

So the problem is on the index.html delivered or the tutorial?


Reply to this email directly or view it on GitHub
#33 (comment).

Daniel Roviriego
(21) 35920701
(21) 99561654

from bemtv.

flavioribeiro avatar flavioribeiro commented on June 24, 2024

fixing this with full html session

from bemtv.

Related Issues (20)

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.