quicktime php

Discussion in 'PHP' started by knish, Nov 23, 2007.

  1. #1
    Hi,

    Couple of questions.

    1) Is it possible to connect a sql table to a flash drop down menu. How ?

    2) A .php file with display of records from a table display a certain font size on one PC and another size on another PC. How is it possible to display same font size on all PC's no matter how different the monitor resolution or size are.

    3) How is it possible to open a hyper link to a new quicktime window using php.

    BRgds,

    kNish
     
    knish, Nov 23, 2007 IP
  2. SoftCloud

    SoftCloud Well-Known Member

    Messages:
    1,060
    Likes Received:
    28
    Best Answers:
    2
    Trophy Points:
    120
    #2
    1) Yes, how though I'm unsure as I'm not one for Flash. (Check Flash Kit)

    2) Instead of using
    <font size="2">Hello</font>
    Code (markup):
    use the CSS way
    <font style="font-size: 13px;">Hello</font>
    Code (markup):
    That will show text the same on all computers. Unless they have accessibility options on and have the font size made big for people with visual impairment.

    3) Do the same in PHP as you would in HTML.
    HTML Way:
    <a href="http://www.link.to/video.file" target="_blank">Click to view video</a>
    Code (markup):
    PHP Way:
    <?php
    echo "<a href='http://www.link.to/video.file' target='_blank'>Click to view video</a>";
    ?>
    PHP:
    Enjoy. :)
     
    SoftCloud, Nov 23, 2007 IP
  3. knish

    knish Active Member

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #3
    Hi,

    1) Following is the code to play a quicktime. How is it possible to activate this as a hyper link

    2) It has a line <param name='controller' value="true">

    This should ideally display the play, stop, pause button line. In case it does not, what other way may I display this button line.

    BRgds,

    kNish

    <OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="320" height="240" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
    <param name='src' value="http://mydomain.com/video.mov">
    <param name='autoplay' value="true">
    <param name='controller' value="false">
    <param name='loop' value="false">
    <EMBED src="http://mydomain.com/video.mov" width="320" height="240" autoplay="true"
    controller="false" loop="false" bgcolor="#000000" pluginspage='http://www.apple.com/quicktime/download/'>
    </EMBED>
    </OBJECT>
     
    knish, Nov 26, 2007 IP
  4. knish

    knish Active Member

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    61
    #4
    correction
    <param name='controller' value="true">

    knish
     
    knish, Nov 26, 2007 IP