HDW Player Download

Showing Google Ads

HDW Player is still trying to better the Examples section. Mail your ideas to [email protected]

Overview

Displaying Google Adsense over the Player.

Required Properties

adsense - adsense.php that contains the Google Adsense Script

Creating adsense.php

1. Open notepad from your system.
2. Copy the Google Adsense Script from your adsense account(google) and paste it in the notepad.
3. Save the file as adsense.php
4. Copy the file to your server. (Provide this file path as adsense input to the player)

type - video
video - URL of the Video

Code

 

<html>
<head>
	<title>Sample Integration</title>
	<script src="/media2/js/hdwplayer.js"></script>
</head>
<body>

<div id="player"></div>

<script>
hdwplayer({ 
	id        : 'player',
        swf       : '/media2/files/player.swf', 
        width     : '707', 
        height    : '400' ,
        adsense   : 'player/ads/adsense.php',
        video     : 'http://hdwplayer.com/player/videos/300.mp4',
        autoStart : 'true'
});
</script>

</body>
</html>

 

Support