Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
- updates for Radiant Media Player v9
- updates for Prebid 7.45
- removed Prebid Server example
  • Loading branch information
radiantmediaplayer committed Apr 14, 2023
1 parent 09fe6aa commit 1b20da0
Show file tree
Hide file tree
Showing 17 changed files with 358 additions and 655 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rmp-prebid is released under MIT License.
Terms are outlined below (from opensource.org)

Radiant Media Player | https://www.radiantmediaplayer.com
Copyright (c) 2020 Radiant Media Player
Copyright (c) 2023 Radiant Media Player
Radiant Media Player is a commercial HTML5 media player, not covered by this MIT license.
Radiant Media Player license can be found here: https://www.radiantmediaplayer.com/terms-of-service.html.
You may request a free trial for Radiant Media Player at: https://www.radiantmediaplayer.com/free-trial.html.
Expand Down
25 changes: 11 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,31 @@
# rmp-prebid
Implements header bidding for [Radiant Media Player](https://www.radiantmediaplayer.com) through [Prebid.js](https://github.com/prebid/Prebid.js/).
Implements header bidding for [Radiant Media Player](https://www.radiantmediaplayer.com) through [Prebid.js](https://prebid.org/).

## Header Bidding
Header Bidding (also known as header auctions, parallel bidding, or header bidding) is a technique that involves running SSP & Ad Exchange code directly on page so publishers can receive bids on their inventory that may be unavailable through their primary ad server and exchange.
Header Bidding (also known as header auctions, parallel bidding, or header bidding) is a technique that involves running SSP and Ad Exchange code directly on page so publishers can receive bids on their inventory that may be unavailable through their primary ad server and exchange.

The returned bids are then passed into the ad server so they can compete with direct demand and the primary ad server's exchange on a level playing field.
More information on the subject can be found [here](https://prebid.org/overview/intro.html) and [here](https://www.adopsinsider.com/header-bidding/header-bidding-step-by-step/).

A list of bidders with video ads support [can be found here](https://prebid.org/dev-docs/bidders.html#bidders-with-video-and-native-demand).
Before using a specific Prebid bidder, make sure that it supports video ad format.

## Prebid video
In this repository, we will show how to set up Prebid with Radiant Media Player to show instream video ads with our client side adapter, using Prebid Server, outstream video ads and our ad-scheduler. Prebid.js for video overview [can be found here](https://prebid.org/prebid-video/video-overview.html).
In this repository, we will show how to set up Prebid.js with Radiant Media Player to show instream video ads, outstream video ads and ad-scheduling (pre/mid/post roll) with Prebid.js. Code in this repository has been written with Radiant Media Player 9.2.0 and Prebid.js 7.45.0.

### client-side adapter
See `instream-client-side.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/instream-client-side.html).
### Instream video ads
See `instream.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/instream.html).

### Prebid Server
See `instream-prebid-server.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/instream-prebid-server.html).

### Outstream video ads
See `outstream.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/outstream.html).
### Outstream video ads (Google IMA SDK)
See `outstream-ima.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/outstream-ima.html).

### Ad-scheduling
See `ad-scheduling-client-side.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/ad-scheduling-client-side.html).
See `instream-schedule.html`. [A working example can be found here](https://www.radiantmediaplayer.com/docs/latest/gist/rmp-pb/instream-schedule.html).

### Production notes
The above examples are start points to best implement header bidding for Radiant Media Player through Prebid.js. For production usage you will need to:
- configure Radiant Media Player with your settings
- configure prebid according to your requirements and ad-server
- use a prebid.js custom build that only encompasses your target bidders
- configure Prebid according to your requirements
- use a Prebid.js custom build that only encompasses your target bidders

## License for rmp-prebid
rmp-prebid is released under MIT License
Expand Down
41 changes: 0 additions & 41 deletions ad-scheduling-client-side.html

This file was deleted.

42 changes: 0 additions & 42 deletions instream-client-side.html

This file was deleted.

43 changes: 0 additions & 43 deletions instream-prebid-server.html

This file was deleted.

38 changes: 38 additions & 0 deletions instream-schedule.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">

<title>Using Prebid.js with Radiant Media Player - Pre/mid/post-roll instream video</title>
<!-- prebid.js -->
<!-- this is an unoptimized build with all bidders for the purpose of this demo -->
<!-- see https://prebid.org/download.html or https://github.com/prebid/Prebid.js to produce a production build specific to your project -->
<script src="//cdn.jsdelivr.net/npm/prebid.js@latest/dist/not-for-prod/prebid.js"></script>
<!-- Radiant Media Player core library -->
<script src="https://cdn.radiantmediatechs.com/rmp/9.2.1/js/rmp.min.js"></script>
</head>

<body>
<div class="container">
<div class="row mt-5">
<div class="col">
<h1>Using Prebid.js with Radiant Media Player: Ad-scheduling</h1>
<h2>Pre/mid/post-roll instream video (muted autoplay)</h2>
<p>Go back to <a href="https://github.com/radiantmediaplayer/rmp-prebid">GitHub</a></p>
<p>Go back to <a href="https://www.radiantmediaplayer.com/docs/latest/header-bidding.html">Radiant
Media Player docs</a></p>
<p>You may need to reload this demo page to get a fill on the adTag request</p>
<!-- player container -->
<div id="rmp"></div>
</div>
</div>
</div>
<!-- player app logic -->
<script src="js/instream-schedule.js"></script>
</body>

</html>
39 changes: 39 additions & 0 deletions instream.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">

<title>Using Prebid.js with Radiant Media Player - Instream</title>
<!-- prebid.js -->
<!-- this is an unoptimized build with all bidders for the purpose of this demo -->
<!-- see https://prebid.org/download.html or https://github.com/prebid/Prebid.js to produce a production build specific to your project -->
<script src="//cdn.jsdelivr.net/npm/prebid.js@latest/dist/not-for-prod/prebid.js"></script>
<!-- Radiant Media Player core library -->
<script src="https://cdn.radiantmediatechs.com/rmp/9.2.1/js/rmp.min.js"></script>
</head>

<body>
<div class="container">
<div class="row mt-5">
<div class="col">
<h1>Using Prebid.js with Radiant Media Player</h1>
<h2>Instream Video (muted autoplay)</h2>
<p>Go back to <a href="https://github.com/radiantmediaplayer/rmp-prebid">GitHub</a></p>
<p>Go back to <a href="https://www.radiantmediaplayer.com/docs/latest/header-bidding.html">Radiant
Media Player docs</a></p>
<p>You may need to reload this demo page to get a fill on the adTag request
</p>
<!-- player container -->
<div id="rmp"></div>
</div>
</div>
</div>
<!-- player app logic -->
<script src="js/instream.js"></script>
</body>

</html>

0 comments on commit 1b20da0

Please sign in to comment.