Issue Description:
Our App has a feature to let user play content from a resume position. We noticed below issue in New Relic reporting when playback initiated using Resume button.
Given: User initiated payback using Resume CTA.
When: videoNode sent to New Relic has videoNode.position > 0
Then: CONTENT_START action not triggered.
Then: Our reports would miss all playbacks initiated through Resume CTA.
Fix:
To fix the above issue, i have added a flag called m.nrShouldTrackResumeAsContentStart, which can be set by the App.
If this flag is set to true, app will trigger CONTENT_START action even if videoNode.position > 0. If will only check if the state changed to playing after initial buffer to trigger the CONTENT_START action.
Issue Description: Our App has a feature to let user play content from a resume position. We noticed below issue in New Relic reporting when playback initiated using Resume button.
Given: User initiated payback using Resume CTA.
When: videoNode sent to New Relic has videoNode.position > 0
Then: CONTENT_START action not triggered.
Then: Our reports would miss all playbacks initiated through Resume CTA.
Fix: To fix the above issue, i have added a flag called m.nrShouldTrackResumeAsContentStart, which can be set by the App. If this flag is set to true, app will trigger CONTENT_START action even if videoNode.position > 0. If will only check if the state changed to
playing
after initial buffer to trigger the CONTENT_START action.