TapTo for Windows - How to launch media
From TapTo Wiki
(Redirected from Launch videos with tapto (windows))
Start media files with TapTo on Windows
*the app is currently in Beta and subject to change
Requirements:
- VLC Media Player for windows installed.
- TapTo for Windows installed.
- Video files stored in your desired location.
- 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
- Open a text editor (like Notepad).
- 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
- The default path on x64 Windows systems is:
- 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"
- Place quotation marks (
- 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"
- 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
- To start VLC in fullscreen mode and close it automatically after playback, modify the command like this:
- 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.
- Save the file in Notepad with a
Step 2: Configure TapTo to Launch the .bat File
- Open the TapTo Configuration File:
- Locate and open the
tapto.ini
file.
- Locate and open the
- 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.
- Under the
Step 3: Flash the Path to Your NFC Card
- Open the Tapto.life App.
- Flash the Path:
- Flash the path to your .bat file as a text string. For example:
G:\Tapto\Movies\Movie.bat
- Flash the path to your .bat file as a text string. For example:
Your NFC card is now configured to start your movie!