The user might want to access file that stored in IAdea media player directly, for better performance to their application, the file could be access through http protocol as below format.
- Format: http:// player’s IP:8080/v2/user-data/target file name?access_token=player’s access_token
The user is able to inquiry REST API to obtain the http URL of target file inside IAdea media player.The tutorial will show you how to use HTML iframe technique to display a web page that stored in the IAdea media player.
Preparation
- REST API document https://support.iadea.com/hc/en-us/articles/216221563-REST-API-tutorial
- Install Restlet client extension tool. https://chrome.google.com/webstore/detail/restlet-client-rest-api-t/aejoelaoggembcahagimdiliamlcdmfm
Instructions
- Boot up the IAdea media player and wait unit the basic setting page appears.
- Write the IP address of the IAdea media player.
- Unzip the attached file. The TEST.html will be pushed into IAdea media player, the iframe.html will load the TEST.html from the IAdea media player.
- Launch Chrome browser on your desktop and access the Restlet clinet tool.
- Obtains the access token of the IAdea media player. (refer the page 6 of the REST API document)
- Pushing the TEST.html into the IAdea media player. (refer the page 10 of the REST API document)
- Listing the files inside player to make sure the TEST.html be pushed into player. (refer the page 10 of the REST API document)
- The TEST.html be stored in /user-data/media folder in player. You could follow the rule to access the TEST.html
- Format: http:// player’s IP:8080/v2/user-data/target file name?access_token=player’s access_token
- In this case, it should be http://192.168.1.237:8080/v2/user-data/media/TEST.html?access_token=8E2D4874B1AC38C176710A4D5D6BBF6
- Opening your Chrome then typing the URL of the pushed TEST.html to see if the URL is accessible or not.
- Implementing the URL into the iframe.html to display the TEST.html that stored in player, as an embedded web page.
- Making the IAdea media player loads the iframe.html.