Follow

API: Mediafiles

You can download all the files you need from ExorLive's servers.

 

Drawings

Exercise drawings can be found at "https://exorlive.com/media_[id]@x.y+png.media".

  • [id] is a unique media-id which you can get by reading the field 'MainImage_BW' or the field 'MainImage_C' from the getWorkout method and the field 'ImageId' when using the queryExercises method.
  • x is horisontal width.
  • y is vertical width.
  • Note that the image will never stretch, but will keep its original x/y ratio.

Example: https://exorlive.com/media_963@200.300+png.media

Note that when using the 'getWorkout' method, it returns two different id's. This is 'MainImage_BW' and 'MainImage_C'. If none of them is 0, use 'MainImage_C'. If one of them is 0, use the other one.

Anatomy drawings

Anatomy drawings can be found at "https://exorlive.com/media_[id]@x.y+png.media".

  • [id] is a unique media-id which you can get by reading the field 'Ventral' from the getWorkout or queryExercises methods.
  • x is horisontal width.
  • y is vertical width.
  • Note that the image will never stretch, but will keep its original x/y ratio.

Example: https://exorlive.com/media_2001237@200.300+png.media

Videos

The video player can be found at "http://exorlive.com/video/?ex=[id]", where [id] is a comma-separated list of master ids. Read the property "MasterId" on every exercise to get the correct id. This player can be put in an iframe, and requires the browser to be able to play HTML5 videos or Flash.

ExorLive Player is an application to show HTML5 compatible ExorLive videos both inside the ExorLive application or on a third party webpage. It supports sharing of the video link, and different playback resolutions.

Usage

ExorLive Player is running at the url: http://exorlive.com/video/Default.aspx

Without any query parameters, the video will show a blank page.

Parameters

ex A comma-separated list of exercise id to play. If there is more than one exercise in the list, a playlist will be shown while playing.

Example: http://exorlive.com/video/?ex=8405,8407

clean With this enabled, ExorLive Player will hide some of the buttons

Example: http://exorlive.com/video/?ex=8405,8407&clean=true

playall With this enabled, ExorLive Player will play all the exercise videos, then stop at the end.

Example: http://exorlive.com/video/?ex=8405,8407&playall=true

playallrepeat With this enabled, ExorLive Player will play all the exercise videos, then start from the beginning again.

Example: http://exorlive.com/video/?ex=8405,8407&playallrepeat=true

hidesmb With this enabled, ExorLive Player will hide the button "See more exercises".

Example: http://exorlive.com/video/?ex=8405,8407&hidesmb=true

hd With this enabled, if the user have not set his own HD setting, ExorLive Player will start videos in HD.

Example: http://exorlive.com/video/?ex=8405,8407&hd=true

autoplay With this enabled, ExorLive Player will start playback immediatly.

Example: http://exorlive.com/video/?ex=8405,8407&autoplay=true

repeat With this enabled, ExorLive Player will loop current playing video.

Example: http://exorlive.com/video/?ex=8405,8407&repeat=true

rows How many rows should the playlist show?

Example: http://exorlive.com/video/?ex=8405,8407,8409,8412,455,678,7259,3296,7252,3310,8921,8931,8926,8943,8940,8205,7253,101,7498,7730,7732,7736&rows=4

FLV videos

The flv files is deprecated, and will soon be discontinued.

Videos can be found at "https://exorlive.com/media_[id].flv".

Example: https://exorlive.com/media_2009379.flv

To play *.flv files on your page, you need a flash player installed. There is a lot of good or free players available on the web.