SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Location
    Michigan
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Music Background for a pdf Page??

    On one of my Web sites, I have to display a brochure that's in pdf format:

    <a href="Brochure.pdf">Click to View Brochure</a>

    Is there any way to accompany the display of the brochure with background music?

    Thanks so much.

    Ken

  2. #2
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    The only way to do that would be to load an HTML page that uses Javascript to open the PDF link automatically. but if you do that, vampire gerbils will come and eat you all up, starting with your toes. Having music play automatically and unbidden on a website is one of the top three evils that a web designer can commit.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Location
    Michigan
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, Stevie. I appreciated your humor, and in fact I agree with you. I created and maintain this particular Web site, but I don't own it. I'll have to see what the "boss" wants to do.

    Ken

  4. #4
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,784
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    You can embed multimedia into PDFs but to do so you'd need the full version of Adobe Acrobat. I don't think any of the other PDF editors allow you to do it.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  5. #5
    Chive On FFCus's Avatar
    Join Date
    Feb 2006
    Location
    Connecticut
    Posts
    542
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Stevie D View Post
    Having music play automatically and unbidden on a website is one of the top three evils that a web designer can commit.
    I actually lost a job once because I vocally spoke against playing music on a site for no reason. They thought I was crazy and it was going to the coolest thing ever.

    I think I'm glad I didn't get that job. in the long run.

  6. #6
    SitePoint Enthusiast
    Join Date
    Jan 2010
    Location
    Michigan
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Felgall: I suspected that. Unfortunately, I don't have Acrobat.

    Everyone: Thanks for the responses. They've been very helpful.

    Ken


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •