# Only Audio no Video

**URL:** <https://forum.developer.roku.com/t/only-audio-no-video/7034>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [March 27, 2015, 10:04am UTC](https://forum.developer.roku.com/t/only-audio-no-video/7034 "2015-03-27T10:04:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_oodles](https://avatars.discourse-cdn.com/v4/letter/m/46a35a/32.png) [@Manish\_oodles](https://forum.developer.roku.com/u/Manish_oodles)\
**Post date:** [March 27, 2015, 10:04am UTC](https://forum.developer.roku.com/t/only-audio-no-video/7034/1 "2015-03-27T10:04:49Z")

</div>

I am trying to play mp4 url in rovideoscreen but only audio is coming not video I implemented this code.  
The worst part is that all those url are playing in JWPLAYER i m not getting this issue please help me

```auto
Function Testing(data)
print "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"data.stream
    port = CreateObject("roMessagePort")
    screen = CreateObject("roVideoScreen") 
     screen.SetContent(data)
    screen.SetMessagePort(port)
    screen.Show() 
    while true
       msg = wait(0, port)
    
       if type(msg) = "roVideoScreenEvent" then
           print "showVideoScreen | msg = "; msg.GetMessage() " | index = "; msg.GetIndex()
           if msg.isScreenClosed()
               print "Screen closed"
               exit while
            else if msg.isStatusMessage()
                  print "status message: "; msg.GetMessage()
            else if msg.isPlaybackPosition()
                  print "playback position: "; msg.GetIndex()
            else if msg.isFullResult()
                  print "playback completed"
                  exit while
            else if msg.isPartialResult()
                  print "playback interrupted"
                  exit while
            else if msg.isRequestFailed()
                  print "request failed – error: "; msg.GetIndex();" – "; msg.GetMessage()
                  exit while
            end if
       end if
    end while 
End function

```

and some times i get this error from terminal  
showVideoScreen | msg = Unspecified or invalid track path/url. | index = 0  
status message: Unspecified or invalid track path/url.  
showVideoScreen | msg = | index = -5  
request failed �� error: -5 ��
