No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Katachinsky
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Groups 0

    Katachinsky

    @Katachinsky

    0
    Reputation
    112
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Katachinsky Follow

    Latest posts made by Katachinsky

    • RE: Quasar & Cordova plugins

      Hello Sweetyy , Try something like this:

      <html>
      
      <div id="videoArea"></div>
      
      </html>
      
      <script>
      captureVideo () {
            navigator.device.capture.captureVideo(this.onSuccess, this.fail, {limit: 1})
          },
      fail (e) {
            alert('falhou' + e)
          },
      onSuccess (s) {
            var v = "<video controls='controls'>"
            v += "<source src='" + s[0].fullPath + "' type='video/mp4'>"
            v += '</video>'
            document.querySelector('#videoArea').innerHTML = v
          }
      </script>
      

      Good Luck!

      posted in Help
      K
      Katachinsky