Click here to Skip to main content
15,901,122 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: FINAL YEAR PROJECT Pin
cp-andy27-Nov-16 23:50
cp-andy27-Nov-16 23:50 
GeneralRe: FINAL YEAR PROJECT Pin
Richard MacCutchan28-Nov-16 0:12
mveRichard MacCutchan28-Nov-16 0:12 
GeneralRe: FINAL YEAR PROJECT Pin
cp-andy28-Nov-16 0:38
cp-andy28-Nov-16 0:38 
GeneralRe: FINAL YEAR PROJECT Pin
Richard MacCutchan28-Nov-16 0:41
mveRichard MacCutchan28-Nov-16 0:41 
GeneralRe: FINAL YEAR PROJECT Pin
cp-andy28-Nov-16 0:48
cp-andy28-Nov-16 0:48 
GeneralRe: FINAL YEAR PROJECT Pin
Richard MacCutchan28-Nov-16 0:55
mveRichard MacCutchan28-Nov-16 0:55 
GeneralRe: FINAL YEAR PROJECT Pin
cp-andy28-Nov-16 1:08
cp-andy28-Nov-16 1:08 
Questionlink to specific point in the vimeo video Pin
cp-andy23-Nov-16 6:07
cp-andy23-Nov-16 6:07 
Hello,
Following code helps in navigating to particular point in vimeo videos (by adding #t=0m0s to querystring). It is working absolutely fine on firefox but not on other browsers.

Can anyone point why and point me to right direction. Thanks

JavaScript
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>


HTML
<iframe src="https://player.vimeo.com/video/191602887" width="629" height="356" id="vimeo-player-1" name="vimeo"></iframe>

<style>
iframe{
    display: none;
width:629px;
height:356px;
margin:0 0 10px;
}
</style>

<div id="container"></div>
<div id="iframe-holder">
    <iframe src="" id="frame"></iframe>
</div>
<a style="cursor: pointer; " onclick="insert('0m51s');">[0.51]</a>
<div class="spacer10"></div>
<a style="cursor: pointer; " onclick="insert('1m38s');">[1.38]</a>


JavaScript
<script>
function insert(time) {
    var myFrame = $('#vimeo-player-1');
var url = $(myFrame).attr('src') + '#t=' + time;
holder = document.getElementById('iframe-holder'),
frame = holder.getElementsByTagName('iframe')[0];
    frame.style.display = "block";
frame.src = url;
document.getElementById('container').insertBefore(holder, null);
    $("#vimeo-player-1").hide();
    if(myFrame.location!=url&&url!=location.href)
        myFrame.location.replace(url);
}
</script>


Thanks

modified 25-Nov-16 7:14am.

QuestionWorking With Legacy Project Pin
MadDashCoder22-Nov-16 13:38
MadDashCoder22-Nov-16 13:38 
AnswerRe: Working With Legacy Project Pin
Nathan Minier23-Nov-16 1:03
professionalNathan Minier23-Nov-16 1:03 
QuestionHow i redirect the url by integrate G+ sign up Pin
Rahul Ris Dutta21-Nov-16 7:35
Rahul Ris Dutta21-Nov-16 7:35 
SuggestionRe: How i redirect the url by integrate G+ sign up Pin
Richard MacCutchan21-Nov-16 10:08
mveRichard MacCutchan21-Nov-16 10:08 
QuestionDynamic <select> - How to? Pin
Jassim Rahma21-Nov-16 0:35
Jassim Rahma21-Nov-16 0:35 
AnswerRe: Dynamic <select> - How to? Pin
Afzaal Ahmad Zeeshan23-Nov-16 8:32
professionalAfzaal Ahmad Zeeshan23-Nov-16 8:32 
GeneralRe: Dynamic <select> - How to? Pin
Jassim Rahma2-Dec-16 10:51
Jassim Rahma2-Dec-16 10:51 
QuestionHosting SignalR In IIS Pin
Kevin Marois20-Nov-16 17:29
professionalKevin Marois20-Nov-16 17:29 
QuestionAccess mobile sms on pc in c# Pin
Member 912444117-Nov-16 23:25
Member 912444117-Nov-16 23:25 
AnswerRe: Access mobile sms on pc in c# Pin
Afzaal Ahmad Zeeshan20-Nov-16 23:06
professionalAfzaal Ahmad Zeeshan20-Nov-16 23:06 
QuestionHOW TO CODE CPK Chart in vb.asp.net Pin
BHARAT NAVINCHANDRA PATEL11-Nov-16 20:01
BHARAT NAVINCHANDRA PATEL11-Nov-16 20:01 
AnswerRe: HOW TO CODE CPK Chart in vb.asp.net Pin
ZurdoDev16-Nov-16 1:08
professionalZurdoDev16-Nov-16 1:08 
QuestionHow to trigger on change on a HTML5 var tag? Pin
Nicky Tse11-Nov-16 2:26
Nicky Tse11-Nov-16 2:26 
AnswerRe: How to trigger on change on a HTML5 var tag? Pin
Richard Deeming11-Nov-16 3:20
mveRichard Deeming11-Nov-16 3:20 
GeneralRe: How to trigger on change on a HTML5 var tag? Pin
Nicky Tse11-Nov-16 3:31
Nicky Tse11-Nov-16 3:31 
GeneralRe: How to trigger on change on a HTML5 var tag? Pin
Richard Deeming11-Nov-16 3:39
mveRichard Deeming11-Nov-16 3:39 
QuestionHow to parse the excel sheet using javascript and do the rest service Pin
Member 128302459-Nov-16 2:16
Member 128302459-Nov-16 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.