There is an issue with playing video for the first time on real device

Appium returns “Could not connect to WebKitRemoteDebugger server appium” error when I try to play a video, but when the video has already been play without Appium, then playing via Appium is pass without the error.

Real device - iPad Air
Real device OS - iOS 8.0
OS - MacOS 10.9.5