HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/promic.komma.pro/wwwroot/product_data/pop-ups-impress/videos_neutral.php
<?php
    $neutralVideos = [
        [
            'entry_id'       => '0_69w82nqf',
            'kaltura_player' => '1561558609',
            'shortlinkId' => 'https://mobiledisplays.video/tiny/21ink'
        ],
        [
            'entry_id'       => '0_fven9yco',
            'kaltura_player' => '1561558636',
            'shortlinkId' => 'https://mobiledisplays.video/tiny/98yhr'
        ],
    ];

    foreach ($neutralVideos as $key => $neutralVideo) { ?>

        <div class="neutral_video_frame">
            <h2><?php echo($_SESSION['taal_table']['text']['video_neutral']); ?></h2>
            <script src="https://mobiledisplays.video/p/101/sp/10100/embedIframeJs/uiconf_id/23448213/partner_id/101?autoembed=true&entry_id=<?php echo $neutralVideo['entry_id']; ?>&playerId=kaltura_player_<?php echo $neutralVideo['kaltura_player']; ?>&cache_st=<?php echo $neutralVideo['kaltura_player']; ?>&width=490&height=276&flashvars[autoPlay]=false"></script>
        </div>

        <div class="neutral_video_embed">

            <h2>Embed code</h2>
            <p><?php echo($_SESSION['taal_table']['text']['embed_text']); ?></p>
            <textarea class="embedCode_2" readonly><script src="https://mobiledisplays.video/p/101/sp/10100/embedIframeJs/uiconf_id/23448213/partner_id/101?autoembed=true&entry_id=<?php echo $neutralVideo['entry_id']; ?>&playerId=kaltura_player_<?php echo $neutralVideo['kaltura_player']; ?>&cache_st=<?php echo $neutralVideo['kaltura_player']; ?>&width=490&height=276&flashvars[autoPlay]=false"></script></textarea>

            <h2 style="margin-top: 60px;"><?php echo($_SESSION['taal_table']['text']['qr']); ?></h2>
            <p>
                <?php echo($_SESSION['taal_table']['text']['direct_link']); ?> <a href='<?php echo $neutralVideo['shortlinkId']; ?>'><?php echo $neutralVideo['shortlinkId']; ?></a> <br>
                <img src="/img/qr/<? echo $productName . '-'. $key; ?>.png">
            </p>

        </div>


        <div class="clear_both"></div>

        <?php
    }

?>