PHP is it possible

Discussion in 'Programming General' started by Arya, Aug 16, 2015.

PHP is it possible
  1. Unread #1 - Aug 16, 2015 at 11:12 PM
  2. Arya
    Joined:
    Jul 20, 2008
    Posts:
    1,410
    Referrals:
    1
    Sythe Gold:
    145
    Discord Unique ID:
    848009003737153567
    Discord Username:
    neexus#4873

    Arya Guru
    $25 USD Donor New

    PHP is it possible

    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?
     
  3. Unread #2 - Aug 17, 2015 at 12:43 AM
  4. Sythe
    Joined:
    Apr 21, 2005
    Posts:
    8,063
    Referrals:
    450
    Sythe Gold:
    5,191
    Discord Unique ID:
    742989175824842802
    Discord Username:
    Sythe
    Dolan Duck Dolan Trump Supporting Business ???
    Poképedia
    Clefairy Jigglypuff
    Who did this to my freakin' car!
    Hell yeah boooi
    Tier 3 Prizebox Toast Wallet User
    I'm LAAAAAAAME Rust Player Mewtwo Mew Live Free or Die Poké Prizebox (42) Dat Boi

    Sythe Join our discord

    test

    Administrator Village Drunk

    PHP is it possible

    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.
     
  5. Unread #3 - Aug 17, 2015 at 11:35 PM
  6. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    PHP is it possible

    Yeah Javascript can do this without much trouble at all, even plain HTML + CSS likely
     
  7. Unread #4 - Aug 18, 2015 at 6:53 AM
  8. SmokeHut
    Joined:
    Aug 17, 2011
    Posts:
    1,504
    Referrals:
    0
    Sythe Gold:
    112
    Discord Unique ID:
    865859811747692554
    Discord Username:
    Okesseril#7961
    Gohan has AIDS Sythe's 10th Anniversary

    SmokeHut Great men grow tired of contentedness.
    $100 USD Donor New

    PHP is it possible

    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.
     
< How do I fill out Part C on Apples Canadian Tax Form GST506 E? | What project idea got you into programming? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site