TapTo for Windows - How to launch media

From TapTo Wiki


Start media files with TapTo on Windows

*the app is currently in Beta and subject to change

Requirements:

  1. VLC Media Player for windows installed.
  2. TapTo for Windows installed.
  3. Video files stored in your desired location.
  4. Tapto.life app installed on iOS or Android.

Notes:

  • This tutorial is designed to launch a video using VLC Media Player. While other media players may work, they might require different commands.
  • Every video file requires its own .bat file. To keep things organized, consider placing your .bat files and corresponding videos in the same folder.
  • If you move your video files after creating the .bat files, the .bat files will no longer work. Keep this in mind before proceeding.

Tutorial:

Step 1: Create a .bat File

  1. Open a text editor (like Notepad).
  2. Locate the VLC Media Player Executable:
    • The default path on x64 Windows systems is: C:\Program Files (x86)\VideoLAN\VLC
    • Copy this path to Notepad and add vlc.exe at the end, so it looks like this: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
  3. Add Quotes to the Path:
    • Place quotation marks (") at the beginning and end of the path, then add a space afterward. It should look like this: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
  4. Insert the Video File Path:
    • Copy the location of your video file, including the file name and extension.
    • Place quotation marks (") around the video file path. Your .bat file should now look like this: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv"
  5. Add Additional Commands:
    • To start VLC in fullscreen mode and close it automatically after playback, modify the command like this: start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv" --fullscreen exit
  6. Save the File:
    • Save the file in Notepad with a .bat extension. For example: Movie.bat
    • Ensure the file isn’t saved as Movie.bat.txt, as this won’t work.

Step 2: Configure TapTo to Launch the .bat File

  1. Open the TapTo Configuration File:
    • Locate and open the tapto.ini file.
  2. Add the .bat File Path:
    • Under the [launchers] section, add the following line: allow_file = G:\Tapto\Movies\Movie.bat
    • Replace the path with the location of your actual .bat file.

Step 3: Flash the Path to Your NFC Card

  1. Open the Tapto.life App.
  2. Flash the Path:
    • Flash the path to your .bat file as a text string. For example: G:\Tapto\Movies\Movie.bat

Your NFC card is now configured to start your movie!