×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    youtube video using qml

    Hi,
    Is there a way to play youtube videos using qml?
    Video element does not work on youtube videos , it give an access denied error

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: youtube video using qml

    Does it something like you don't have required capability in your certificate and so get "access denied error"??

  3. #3
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    Re: youtube video using qml

    I realize that I can't play any video, I already added :
    CONFIG += mobility
    MOBILITY = multimedia
    to the .pro and I installed the qtMobility but it always give the following:
    module "QtMultimediaKit" is not installed
    import QtMultimediaKit 1.1
    Then if I add Qt+=Declarative to the .pro, no errors appear and when it runs it gives access denied error

    Note that I can't add
    import Qt.multimedia 1.0
    it gives no such file or directory

  4. #4
    Registered User
    Join Date
    Apr 2008
    Location
    India / Singapore
    Posts
    549

    Re: youtube video using qml

    Hi there,
    Here is a compilation of a simple QML based Video player. www.developer.nokia.com/.../Wiki/Simple_video_player_in_QML

    Also, have you found the address of the Youtube video ? Because it cant be done in a striaght fwd way..
    Twitter - manikantan_k
    Just in --

  5. #5
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    Re: youtube video using qml

    Sorry but this link gives file not found
    Yes I have the video address and what I had done is doing it straight fwd but it gives an error.

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: youtube video using qml


  7. #7
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    Re: youtube video using qml

    I tried this and it gives the same error

  8. #8
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    Re: youtube video using qml

    This example works great for stored videos, but not for online videos.

  9. #9
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: youtube video using qml

    How are you trying to fetch content from internet, i.e youtube? Can you paste your code to play videos? Also check this article to play YouTube Videos.

  10. #10
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    Re: youtube video using qml

    I am trying to open this video using the video element on click on something:
    video.source="http://pseudo01.hddn.com/vod/demo.flowplayervod/Extremists.flv"
    Success is when you realize obstacles you face are challenges to help you become better - and your response equals the challenge.

  11. #11
    Registered User
    Join Date
    Sep 2011
    Location
    Lebanon
    Posts
    59

    Re: youtube video using qml

    Now I can play the online video!!!
    It was an access point problem
    Now how can I get the high quality video from the youtube link?
    Last edited by hassan kassem; 2011-10-24 at 14:51.
    Success is when you realize obstacles you face are challenges to help you become better - and your response equals the challenge.

Similar Threads

  1. Can we stream and watch youtube video using j2me
    By jackofall in forum Mobile Java General
    Replies: 2
    Last Post: 2011-05-06, 14:24
  2. Play a rtsp youtube video in Symbian Video player
    By murthy.pramod in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2010-09-14, 19:28
  3. embedding youtube video
    By twtb in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2010-05-24, 11:48
  4. E71 - Cannot view Video streams from YouTube
    By bigtube in forum Streaming and Video
    Replies: 1
    Last Post: 2008-09-10, 08:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×