I gang

Updates to the silverlight player

As part of this task I need:

1. Add 2 new parameter to the player (m5 and m6)

Player params:

<param name="initParams" value="m1=[url removed, login to view],m2=TYPE-SOME-CUSTOM-DATA,m3=Werewolf Fever,m4=120,m5=30," />

m5=30

interval for sending a playback event in seconds(i.e. if m5=30, then send the event evey 30s)

m6={request_url}

i.e. (${path}/v1/playback/event/${customerId}/${deviceId}1/${productId1}/${moviePossitionInSeconds})|{"assetId":"${componentId}"}

Note - this is a post request and both url and request body are provided in the same param. The delimiter is "|" or let me know if you prefer that request url and request body should be submitted in separate parameters.

2. Playback Event

${path}/v1/playback/event/${customerId}/${deviceId}1/${productId1}/${moviePossitionInSeconds}

{"assetId":"${componentId}"}

Sample request

POST [url removed, login to view]

POST data:

{"assetId":"fb2ac309-d70c-4d40-bec5-4c15f9a611e7"}

[no cookies]

Request Headers:

Connection: keep-alive

Content-Type: application/x-www-form-urlencoded

Content-Length: 50

Host: [url removed, login to view]

User-Agent: Apache-HttpClient/4.2.6 (java 1.5)

Response

{"ResultInfo":{"ResultCode":0,"ResultMessage":"OK"},"Result":[]}

Note:

1. The call needs to be made asynchronously and it should not impact the playback of the movie if the api call fails or returns error.

2. When player is paused the playback/event should not be sent.

Færdigheder: Silverlight

Se mere: fever 5, 5 fever, type of cookies, silverlight 4.0, paused, param java, movie player, manifest, M3, m1, movie response, java interval, java data integration, apache http request length, java post form data, silverlight post, java url parameter, http post headers, delimiter value, 120 request sent, player movie, httpclient, java call api, java api integration, player integration

Om arbejdsgiveren:
( 7 bedømmelser ) Toronto, Canada

Projekt-ID: #6054715

Tildelt til:

webrevolution01

Hired by the Employer

$150 USD in 4 dage
(4 bedømmelser)
4.0