marcok Posted September 19, 2021 Share Posted September 19, 2021 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 !! Quote Link to comment https://forums.phpfreaks.com/topic/313773-video-script/ Share on other sites More sharing options...
Moorcam Posted September 19, 2021 Share Posted September 19, 2021 You will probably need something like this. But will need to work out the actual outline of the Frame to make it look like a TV: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_responsive_iframe_169 1 Quote Link to comment https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590114 Share on other sites More sharing options...
requinix Posted September 19, 2021 Share Posted September 19, 2021 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. Quote Link to comment https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590119 Share on other sites More sharing options...
marcok Posted September 19, 2021 Author Share Posted September 19, 2021 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 Quote Link to comment https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590135 Share on other sites More sharing options...
requinix Posted September 19, 2021 Share Posted September 19, 2021 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? 1 Quote Link to comment https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590150 Share on other sites More sharing options...
Moorcam Posted September 25, 2021 Share Posted September 25, 2021 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. Quote Link to comment https://forums.phpfreaks.com/topic/313773-video-script/#findComment-1590326 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.