+ 3

urgent

please Help urgent hello guys I have a video & I need to invoke this function with PHP or Js var myVar = document.getELementByID("myvideo"); //I need to built this function with PHP ||JS function myfunc() { if (myVar start playing at 0 secand and stille onplay at 20 sec ) document.write ("hello world"); }

18th Sep 2018, 9:30 AM
Ahmed
7 Answers
+ 3
my video is short! soo I'm taking actions after 3 secs of play. hope it helps : https://code.sololearn.com/W92YwZoFn1QE/?ref=app
18th Sep 2018, 10:18 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 5
Vixena Just add your task when count===10
18th Sep 2018, 10:14 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 4
good question and thanks for the information 💖🙌🤗
19th Sep 2018, 6:29 PM
NimWing Yuan
NimWing Yuan - avatar
+ 3
Your urgent post made me put down my coding works, went to form an video events codes for you. Here you go, you could use playing event to detect playback time. https://code.sololearn.com/WOki7IqTAsvx/?ref=app
18th Sep 2018, 9:56 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 2
not understood
18th Sep 2018, 9:36 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
if vedio start playing at sec number 1 and still play at the sec 10 do sth
18th Sep 2018, 9:38 AM
Ahmed
+ 1
thank yoy very much
18th Sep 2018, 2:54 PM
Ahmed