Giter Site home page Giter Site logo

Comments (6)

radiantmediaplayer avatar radiantmediaplayer commented on May 30, 2024

Hi,

Can you provide a URL to your VAST tag, so we can test it.

Thanks
Arnaud

from rmp-vast.

Momotoculteur avatar Momotoculteur commented on May 30, 2024

Hey Arnaud,

i test this vast url on your site https://www.radiantmediaplayer.com/rmp-vast/app/
https://raw.githubusercontent.com/InteractiveAdvertisingBureau/VAST_Samples/master/VAST%204.2%20Samples/Inline_Linear_Tag-test.xml

Try to only change resolution with a low width, and try in second time to throtling in slow 3g via chrome devtools. You will see a change of video only via changing screen size and not network speed :(

from rmp-vast.

radiantmediaplayer avatar radiantmediaplayer commented on May 30, 2024

As far as I can tell the rmp-vast parser works as expected when selecting creatives.
The logic built inside first checks for width, then bitrate. It will not pick higher bitrate if the width of the creative exceed the width of the player. I have verified that behaviour if the player changes size as well.

from rmp-vast.

Momotoculteur avatar Momotoculteur commented on May 30, 2024

Thanks Arnaud for these explications about player's mecanism. Got a better understanding with the code you share :)

Have a good weekend,
Bastien

from rmp-vast.

Momotoculteur avatar Momotoculteur commented on May 30, 2024

@radiantmediaplayer I got another one question ; Seems that the choice of an ad according to bitrate ( after a first sort according to screen witdh ) doesn't work.

In debug mode, i got -1 as average bandwidth. I see how you try to average it via some object available on the browser ( https://wicg.github.io/netinfo/#dom-networkinformation ) but these object are not common in Brave,Chrome, Safari or Firefox. So the library cannot and never sort ad according to current bitrate, isn't it ?

from rmp-vast.

radiantmediaplayer avatar radiantmediaplayer commented on May 30, 2024

You can refer to https://caniuse.com/netinfo for a list of supported browsers for Network Information API. It will work well on mobile devices but on desktop it will not work in Safari and Firefox. In this case the decision will be made based on width alone.

from rmp-vast.

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.