I am not using Youtube but a video hosted on a remote web server. The link to this video is stored in my MySQL DB.
edit : The video can be opened on Firefox and can be seen : here .
My code is something like this :
<?php if(isset($sql) && count($sql) && ($sql->num_rows)) : ?>
<div class="reslt_bar">                
    <?php foreach ($sql as $key => $search_data) : ?>
        <?php
        //I have set the URL of the video and the timeframe in order to jump to it
        $Videolink = $search_data['VideoURL'];
        $VideoFRAMESeconds = $search_data['timestampe'];
        $intVideoFRAMESeconds = (int)$VideoFRAMESeconds;
        ?>
        //The Below line is the place were I would like to click and jump on a new page to the video specifi time
        <p><a target="_blank" href='<?=$search_data['site_url'] ?>'><?=$search_data['meta_title'] ?></a><br/>
    <?php endforeach; ?>                
</div>
I have looked at this SO thread which seems to be a good start, But I do not want to show the video on my page, I want to click on the link, this will open a new page and jump to the specific frame/period in the page of the video not on my first page.
Is this doable ? Do I have to load the video on the page to be able to jump to that period ? Since my code is written in PH, how do I add the command :
document.getElementById("video1").currentTime = 10;
I am a littel bit lost.. any clue ?
 
     
    