Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer setmedia with https using QUrl

QMediaPlayer setmedia with https using QUrl

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 911 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    asht
    wrote on last edited by A Former User
    #1

    Hi,

    I am working on qmediaplayer using Qt.5.6. I am setting setmedia(QUrl(https://username:password@host/file)).

    In this case it is prompting for security Alert (The identity of this website or integrity of this website can not be verified). Asking for Yes, No, View certificate. If click on Yes -> player is playing song.

    I am not sure on how to suppress this Security Alert?

    Rthanking you.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Is the server's certificate OK? When you open said URL with your Chrome browser, do get a similar warning?

      A 1 Reply Last reply
      2
      • ? A Former User

        Hi! Is the server's certificate OK? When you open said URL with your Chrome browser, do get a similar warning?

        A Offline
        A Offline
        asht
        wrote on last edited by
        #3

        @Wieland
        when working with chrome browser it is working fine and playing file. I am putting encoded password in URL.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          asht
          wrote on last edited by
          #4

          I am not able to play file using Qt. While playing file it give Security Alert prompt and If click Yes then it show username and ask to fill password.If password not placed and cancel. then afterwards whenever I go and play file it plays. But if recompile project and then again go to play it wont and again show Security Alert message.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved