How do I add a movie to a php page?

I only know the very basics of php.  I am trying to help a friend who wants to insert a movie onto their page.
I don't know how to code it.
Can someone help, please?
Thank you

Unless you're trying to do something dynamically, video in PHP pages is inserted exactly the same way as HTML pages.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 with Video</title>
<!--help for older IE browsers-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<style>
video {max-width:100%}
</style>
<body>
<!--begin video-->
<video width="500" height="325" poster="Your_poster_image.jpg" controls>
<!--these are 6 sec sample videos are for testing purposes. Replace sample-videos with your own videos-->
<source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
<source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
<source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
If you're seeing this, you're using an outdated browser that doesn't support
the video tag. Please upgrade to a browser that does.
</video>
<!--end video-->
</body>
</html>
Nancy O.

Similar Messages

  • How can i add videos,movies and tv shows episodes to my ipod nano?I want to know whether i can directly add them through my pc or not without downloading them from i tunes store?

    how can i add videos,movies and tv shows episodes to my ipod nano?I want to know whether i can directly add them through my pc or not without downloading them from i tunes store?

    Yes, you can add your own videos to iTunes, then sync them to your nano, subject to supported max resolution limit and file type.  The specs for the 7th gen nano says (I don't know which nano model you have), Video Format Support
    "H.264 video: 720 by 576 pixels, 30 frames per second; Baseline, Main, and High-Profile level 3.0 with AAC-LC audio up to 256 Kbps; 48kHz; stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video: up to 2.5 Mbps, 720 by 576 pixels, 30 frames per second; Simple Profile with AAC-LC audio up to 256 Kbps; 48kHz; stereo audio in .m4v, .mp4, and .mov file formats"
    http://www.apple.com/ipod-nano/specs.html
    (earlier nanos have lower max resolution limits)
    So, "HD" video is too high resolution, so iTunes will not sync such videos to the iPod (although they play in iTunes).  If you are asking how to set up iTunes to sync videos in general (regardless of source), please post back.

  • How do I add a movie from my laptop to iTunes, what should be the file extension.

    How do I add a movie from my laptop to iTunes, what should be the file extension.

    The extension is usually .mov, .m4v, or .mp4.   But you can't just change the extension.  The movies have to be encoded in a particular fomat.  Anything downloaded from iTunes or plays in Quicktime player will be fine.

  • How do I add a movie theater to the Siri database?

    How do I add a movie theater to the Siri database?

    I understand. Resources are limited.
    The link:
    http://www.fandango.com/87123_movietimes
    returns
      UA High Ridge 8
      Regal Winrock Stadium 16 IMAX & RPX
      Cinemark Movies 8
      Southwest Film Center
      Century Rio 24 and XD
    The book "Teach Yourself Visually iPhone 5s and iPhone 5c" by Guy Hart-Davis includes an example of using Siri to discover which theaters nearby are showing a specific movie. Several web sites mention the use of Siri to search for a local movie theater. Given that resources are limited for updating Siri's database, a relative frequency histogram of Siri usage would probably indicate that the task of finding a movie theater is a relatively popular task for Siri. This would help direct resources toward the knee of the cost-benefit curve.
    Of course the benefit of a more current database of movie theaters may be less than the benefit of a more current database of level one trauma centers.

  • How do I add another movie to the project area to work on without it being attached to a previous project?

    How do I add another movie to the project area to work on without it being attached to a previous project?

    No.  I have a number of items in the Event Library.  I am trying to move some of them to the Project Library and when I do it attaches itself to the other project I have there.

  • HT1535 how do I add a movie not bought on iTunes to my iPad?

    how do I add a movie not bought on iTunes to my iPad?

    You have to make sure the movie is in a format supported by iPad. 
    iPad supported formats: 
    Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

  • How do I add an electronic signature to a pages document

    how do I add an electronic signature to a pages document?

    Sergio
    Glad you stepped in and elucidated my inadequate explanation.
    Step by Step explanations of the problem will get Step by Step instructions, but its been a week and the O.P. hasn't elaborated on what they actually want.
    You may consider it a horrible answer, what was your opinion of the question?
    Peter
    PS I looked hard but couldn't find a reference to Preview in my post.

  • How do I add OIC presense into my web page?

    How do I add OIC presence into my web page? with Oracle Messenger (RTC) we can use the href=rtcmsgr:sendmsg?<login_ID> what is the equivalent for Oracle Instant Chat (OIC)?

    Unfortunately, this functionality was lost in the conversion from RTC to OIC. This feature was available because of a http web presence. Oracle did not license that component in OIC.

  • How do I add an album to the album page

    How do I add an album on my album page with iweb
    thanks

    Open the Media drawer, click on Photos, select the iPhoto album you want to add and drag it into the iWeb album page.
    OT

  • HT203167 my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    Unless you backup your data, follow these instructions.
    http://support.apple.com/kb/HT2519
    Formatting means erasing, and you normally can't recover from an erase short of redownloading, or copying back from a backup.  For more on backing up and data recovery, read this link:
    https://discussions.apple.com/docs/DOC-1992

  • How do I add links to my social media pages within Dreamweaver?

    how do I add links to my social media pages within Dreamweaver?

    As you would for any other link. What is the precise problem? Can you give us an example?

  • How do you add old movie count downs to Final Cut Pro X ?

    I am trying to make a video from the films that i recorded while skiing, and i was wondering how i would add an old movie count down into Final Cut Pro X, becasue i cant seem to find anywhere that does it.
    Thanks for the help guys.

    No possible.... You'll need to jot them down manually. Very painful especially if your dealing with a 2hr long DVD

  • How do i add a movie clip into a powerpoint?

    How do i add a video from youtube into a powerpoint presentation on my MacBook Pro?

    Mac Office Powerpoint

  • How can i add filename on a document in pages 5.1 ?

    I am allways using a template to make documents, that I save under different names. How can I add the (changed) filename in the footer of a saved document ?
    It is important to me to print the filename on document, to find and edit it on my mac later.
    In MS Word it is easy to automaticaly add filenames, path, author and other filedata to the document. I can't find how to do that automatically in Pages templates.
    I saw earlyer answers to this question on this community, but they don't work as I expect, or only on earlier versions of pages.....  I trust there is an easy way to do this.
    Can someone help me please ?

    That function, present in "Pages 09" (i.e. Pages 4.3) , was not included in Pages 5.0-5.1.  (Nor were nearly 100 other such features, from mail merge and bookmarks to non-contiguous text selection, 2-up page viewing and the ability to set alternating left/right margins, headers & footers.Version 5.1 is also notably buggy. One work around, or partial work around, is to click the file name at the top of the window document. You can then select the filename, copy it  and paste it whereever you like. As far as I can see, however, there is no way to include the path: all you get is the filename and extension.

  • How do I add a tracking code to my page?

    I want to add a tracking code to my page but iWeb doesn't seem to allow it. I copied the html code from a 3rd party site (Google Analytic) and tried pasting into the html widget in iWeb but when I check the tracking report it keeps telling me the code has not been installed. I have tried placing the text block at various places on the page and still no luck. The directions at Google Analytic tell me where I need to paste it into the html code but to do that I need an html editor or a text editor that can read html.
    Am I doing something wrong with the html widget? If a tracking code can't be added with a widget is there a way I can edit the source code directly? A text editor, maybe? I tried Word but but it wouldn't open the page.
    Thanks for any help!
    Rikki

    There's a way to add Google Analytic to pages without having to edit the page. It's a little bit of work but it's a one time process. Read about it here: http://www.wyodor.net/blog/archives/2010/05/entry_316.html
    Or you could add StatCounter to each page to get not only the number of hits but lots more information:
    Click to view full size
    This tutorial describes how to add it: Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet.
    OT

Maybe you are looking for

  • How can I stop ITunes from starting up on the Radio tab?

    Hi, at my workplace web radio sites are restricted. I like to connect my phone to the computer to charge and to listen to my playlists through the computer's speakers. It also gives me the ability to control the volume and tracks with my keyboard or

  • Custom Web Album Templates in Lightroom

    I work for a department at UMass Amherst, and we're considering using Lightroom to create our web albums. We used the beta, and there was no way to create custom HTML/CSS templates (besides hacking the code it produced every time). Is this a feature

  • Tag files, Lists, and object typing

    I'm passing a list of objects to a custom tag, created via a tag file. I can access object properties in the jsp page like this - <c:out value="${listOfItems[0].property}" /> but inside the tag it doesn't work. It understands that its being passed a

  • Add On Problems in 2007 A

    Hi, I am in the process of converting an add-on from 2005 to 2007.  I am having several issues. 1. Saving data - calling the Add or Update methods on a UserTable object causes an error - Could not commit transaction. 2. All events stop firing.  Altho

  • When on Facebook I can nolonger load photos. But when on Explorer I can. What Should I do?

    I had no problem loading picture into Facebook, but recently it stopped with the update. I can load them with explore but not Firefox. what Can I do to fix this problem?