Comments (6)
Hi,
Can you provide a URL to your VAST tag, so we can test it.
Thanks
Arnaud
from rmp-vast.
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.
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.
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.
@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.
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)
- VAST 3 ad pod skipoffset not working if given as percentage HOT 1
- pause event fired when the ad ends HOT 1
- shaka support HOT 1
- Check for this.container before querySelector call HOT 2
- setMute not working HOT 1
- Can't able to load VAST XML HOT 2
- Support for Mime Types filter HOT 2
- Viewable impression tracker not firing HOT 3
- Insecure mode not working with Latest release of google chrome (Version 91.0.4472.101) HOT 4
- Cannot build with grunt HOT 1
- Add SIMID support (VPAID replacement) HOT 3
- Is there any way to get VAST_PLAYER (player) object from rmpVast instance ? If not can we expose some method to do so? HOT 1
- Units in VPAID.getAdRemainingTime(), VAST_PLAYER.getCurrentTime(), VAST_PLAYER.getDuration() HOT 1
- Incorrect adVerifications parameters in omsdk.js HOT 1
- Failed to fire an event because of console.dir() HOT 3
- Pause event not firing at all HOT 2
- No event fired when calling the "stopAds()" method HOT 1
- How to allow auto height of the rmp-container HOT 4
- vastXmlInput doesn't appear to work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmp-vast.