INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

embedded video clip

embedded video clip

(OP)
Hi Guys,

This is not really my area of expertise so I need a little help. My question is a two parter.

Firstly I need to embed a video clip onto a webpage but I do not want the user to have control over the video clip. What I mean here is that when the webpage is displayed - the video clip will p[lay automatically and the user will not have access to the "play", "fast forward", "rewind", "pause", or "stop" buttons. This ensures that the user must watch the clip in full.

The second part is as follows: When the video clip has finished (only when it has finished) - I need the webpage to display a link to another page so that the user can continue on and doesn't get stuck on this page.

The background to this is that I have a registration form - the user will fill in the first page - click 'next' and then goes to the above video page to watch a video about health and safety and when that video is complete, they are directed back to a final registration page.

So in summary - I need a webpage with an embedded video that does not show the control buttons and that displays a url link only after the video has played.

Any ideas folks

Thanks in advance
John B

RE: embedded video clip

Quote:

This ensures that the user must watch the clip in full.
Oh no it doesn't.

Bet here's a few ideas or you could use the HTML5 Video element if you want it fully 'interactive' with the rest of the document(s).

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: embedded video clip

(OP)
Hi Chris,

Thanks for your reply - I have since figured out how to remove the video controls but the second part my problem has me stumped. How do I display a hyperlink back to the final registration page when the video finishes playing. It sounds like it should be something that has been done before but I can't seem to find any easy solution. Again I am very much a beginner with all this stuff.

thanks
JB

RE: embedded video clip

Depends on what the video has be coded in.

If it is flash or similar then it has to be in the video or the 'movie' have been created with 'hooks' for JavaScript events or triggers.

If is it HTML5 there are 'listeners' that can be used to trigger further actions.

http://www.w3schools.com/tags/ref_av_dom.asp

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: embedded video clip

(OP)
The video is an embedded youtube video

Regards
John B

RE: embedded video clip

I would place a link below the video with a 'click here after you have seen the video' type link.
It will give your visitor a direction even if they don't watch the video until the end.
The following page should then ask a question about something which happens towards the end of the video.
If your visitor is genuinely interested in what you are offering, they will go back to see what they missed.
I am no psychologist but I bet this is the type of stuff people spend hours in lectures, learning.

Keith
www.studiosoft.co.uk

RE: embedded video clip

(OP)
Thanks audiopro - I completely agree with your suggestion and had actually suggested that myself but he powers that be don't want the question option.

RE: embedded video clip

The important people always know best, even when they are wrong.
If the video is Elf & Safe Tea, it is important that the content of the video is not only watched but understood.

Keith
www.studiosoft.co.uk

RE: embedded video clip

(OP)
I couldn't agree more!

Unfortunately they pay the wages at the end of the day so I still need to go with the original way of doing it.

RE: embedded video clip

Quote:

Unfortunately they pay the wages at the end of the day so I still need to go with the original way of doing it

And if it is not possible to accomplish that?????

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: embedded video clip

(OP)
I have made a little progress on doing it the original way so I can't say that its not possible yet. Thanks for your suggestion though - it would have been my prefered way of doing it too.

RE: embedded video clip

It is possible, provided the original video has been coded with that in mind.

As it is a YouTube video you should give the YouTube API a look over.

https://developers.google.com/youtube/js_api_refer...

It may save you you some time.

On the "original way" though, I always found it amusing when 'managers' insist on something that MUST be done their way, then complain that you have spent far too much time on doing it "their way" after you told them it would only take a third of the time if we did .... this ... instead.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: embedded video clip

Many years ago it was considered bad practice to use pop ups, fly in banner ads and automatic videos but in this enlightened age it is considered the norm.
We used to share instructions in a paragraph, or two of text but now we have to listen to someone droning on in a video for three or four minutes.

Keith
www.studiosoft.co.uk

RE: embedded video clip

Quote:

but now we have to listen to someone droning on in a video for three or four minutes.

And quite often with some crappy "Drum 'n' Bass" track playing in the background!

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: embedded video clip

Quote:

And quite often with some crappy "Drum 'n' Bass" track playing in the background!
Well they should use one of mine, then it wouldn't be crappy smile

OP -> Your main question is answered here : http://stackoverflow.com/questions/10773322/event-...

"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close