php mimick the rest service we should have build
autoplay