WordPress.org

Ready to get started?Download WordPress

Forums

Is it possible to make a Page available for mobile devices ONLY? (2 posts)

  1. smcnearney
    Member
    Posted 1 year ago #

    I'd like to embed a media player on a Page to stream some songs I've recorded.

    I want to make the Page with the stream available for mobile devices only in order to make it harder for people to use desktop computing programs like WireTap to rip the streaming content.

    I plan on passing out flyers with a QR code to link people to the Page.

    Is there a way to create a Page that will return the media player on mobile devices and return a 404 error if someone were to try to copy the link from the QR code and visit it on his or her computer?

    I imagine one would start by creating a new template php file and putting some kind of .htaccess code in the header, but I really have no clue how to write that kind of code from scratch.

    Please help! And thank you in advance!

  2. AK Ted
    Member
    Posted 1 year ago #

    Browser Blocker looks like it might do what you want. Keep in mind, though, that it's impossible to know for certain which browser your visitor is using. You only know what that visitor "tells" you. It is relatively simple to spoof what browser you're browsing with.

Topic Closed

This topic has been closed to new replies.

About this Topic