Hello (excuse my english),
how to use a ad video stream/flux with VAST or javascript in constuct 2 ?
I want to insert advertising videos before the game ?
I must use the video object? is what he reads the VAST format?
Thank you
Develop games in your browser. Powerful, performant & highly capable.
Use an intermediate page like:
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="10;url=http://example.com"> <script type="text/javascript"> window.location.href = "http://example.com" </script> <title>Advertising Preview</title> </head> <body> <div> some advertising jabi </div> <!-- Note: don't tell people to `click` the link, just tell them that it is a link. --> If you are not redirected automatically, follow the <a href='http://yourgame.com>link to your game</a> </body> </html>[/code:38kpegy8] See: [url=http://stackoverflow.com/questions/5411538/redirect-from-an-html-page]http://stackoverflow.com/questions/5411 ... -html-page[/url]
Thank you very much.
I will try it