I want to insert advertising videos before the game ?

Get help using Construct 2

Post » Mon Jun 06, 2016 9:27 am

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
B
12
S
3
Posts: 147
Reputation: 2,021

Post » Mon Jun 06, 2016 12:57 pm

Use an intermediate page like:
Code: Select all
<!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>


See: http://stackoverflow.com/questions/5411 ... -html-page
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,414
Reputation: 4,822

Post » Tue Jun 07, 2016 4:45 pm

Thank you very much.
I will try it :D
B
12
S
3
Posts: 147
Reputation: 2,021


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests