Jump to content

Recommended Posts

Hi everyone,

I hope you can help me. I'm looking for a possibility to play videos on my website, but in a frame (which looks like an old TV).

The idea should be like in the picture.

An old TV and the option to click on a video. The video then plays in the frame of the TV.

I don't understand PHP myself, I hope someone can help me on my way.

Thank you very much !!

example video script.jpg

Link to comment
https://forums.phpfreaks.com/topic/313773-video-script/
Share on other sites

3 hours ago, marcok said:

I don't understand PHP myself, I hope someone can help me on my way.

Fortunately your question has nothing to do with PHP, which is why the thread is now located in the HTML forum.

It is fairly straightforward to use HTML to (1) put the video inside some markup container and (2) put an image in that container that will overlap on top of the video.
Try that. If you have problems, post the HTML you've written and perhaps even a screenshot. Bonus points for using something like jsfiddle.net that will let you test what you need to do in a way that you can share it with other people.

Link to comment
https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590119
Share on other sites

Hi,

 

Thank you for putting it in the right forum. and also for the link tow3schools! highly appreciated.

to be honest I have no clue where to begin. I can make a <a href= link too the MP4 video on my side but I dont know hoe to get it in a frame .. also when to choose out o multiple videos

 

Sorry for my noob questions

Link to comment
https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590135
Share on other sites

There's a lot here that can be involved so you'll need to do some learning on your own.

The main things to learn about are: the <video> element and the basics about how HTML and CSS work together. Can you create a page that has just the video in it and playable?

  • Like 1
Link to comment
https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590150
Share on other sites

On 9/19/2021 at 11:35 PM, marcok said:

Hi,

 

Thank you for putting it in the right forum. and also for the link tow3schools! highly appreciated.

to be honest I have no clue where to begin. I can make a <a href= link too the MP4 video on my side but I dont know hoe to get it in a frame .. also when to choose out o multiple videos

 

Sorry for my noob questions

As requinix said, you will need to learn about the workings of CSS and HTML and how they both work together. My advice is to make use of the website w3schools.com and learn these two vital languages. For this to do what you want, wouldn't be surprised if you needed some Javascript too. Post up your HTML with the video in a simple iFrame and playable. Maybe someone here can point you in the right direction.

Link to comment
https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590326
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.