Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Octocat-spinner-32 build Initial checkin
Octocat-spinner-32 lib Initial checkin
Octocat-spinner-32 resource Initial checkin
Octocat-spinner-32 scripts Initial checkin
Octocat-spinner-32 src Initial checkin
Octocat-spinner-32 LICENSE Initial checkin
Octocat-spinner-32 README.md Initial checkin
README.md

AirPlay For Java

A Java application that enables playing compatible videos on AirPlay devices.

DESCRIPTION

This is a simple AirPlay player put together using Jetty, JmDNS, JQuery, and JQueryUI that will allow you to play videos on an AirPlay compatible device such as the AppleTV V2. This application has been tested on Windows, Mac and Linux using the Java 6 JDK from Oracle.

FEATURES

  • User interface to control of playback of video.

REQUIREMENTS

Java 6 and Apache Ant are required to build this project.

INSTALL

Compile using Ant then run the resulting jar by running the startup.bat file on windows, double clicking on the AP4JPlayer.jar file or by using the following command in a terminal:

java -jar AP4JPlayer.jar

Usage

After starting the application use a web browser to access the user interface at http://localhost:7070/

On startup the application will detect AirPlay devices on your network and display them in the user interface. Copy a URL into the play video entry field and then click the play video link.

If you have a firewall you may need to make sure that it will allow mDNS broadcasts.

LICENSE

Copyright (c) 2011 Carson McDonald

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.