• Log in or sign up for an account here: https://www.sythe.org/login

PHP is it possible

Arya

Guru

$25 USD Donor New
Joined
Jul 20, 2008
Sythe Gold
160
Messages
1,414
Age
34
Location
US
Let's say I make an app - on the app, I have a frame. Within the frame is a youtube video inserted by pinging youtubes server(the video isn't stored on my harddrive)

If I shrink the frame to about the size of a dime (and subsequently, the video) and then put an image overlay on top of the shrunken video, is PHP capable of allowing me to click on the overlay, thereby activating the play function of the video?
 
Supporting Business
Discord Voice
Poképedia
Who did this to my freakin' car!
Dat Boi
Dolan Duck
Dolan Trump
I'm LAAAAAAAME
Live Free or Die
Mew
Mewtwo
PHP Shit Show 2k26
Poké Prizebox
Rust Player
Sythe Awards 2016 Winner
Sythe Awards 2017 Winner
Sythe Awards 2019 Winner
Tier 3 Prizebox
Toast Wallet User
Let's say I make an app - on the app, I have a frame. Within the frame is a youtube video inserted by pinging youtubes server(the video isn't stored on my harddrive)

If I shrink the frame to about the size of a dime (and subsequently, the video) and then put an image overlay on top of the shrunken video, is PHP capable of allowing me to click on the overlay, thereby activating the play function of the video?

PHP generates HTML pages server-side to be displayed by your browser. So the simple answer is no.

Learn about javascript and css and see where that takes you.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
PHP generates HTML pages server-side to be displayed by your browser. So the simple answer is no.

Learn about javascript and css and see where that takes you.

Yeah Javascript can do this without much trouble at all, even plain HTML + CSS likely
 
Gohan has AIDS
Sythe's 10th Anniversary
It depends on what you want to achieve, if you just want the image-overlay's alpha to fade to 0 and the play button to be activated. Then Javascript will be your option.

If you want to fetch the Youtube video after the button is pressed then you'll need to use a mixture of Javascript/PHP or AJAX as it's commonly known. This will reload the html without refreshing the page.
 
Runescape Gamblingrunescape gambling
Back
Top