Skip to content

Newbie: disabling download button? and question to id  #106

@Th-Barth

Description

@Th-Barth

Hello,

I m using this video player for the first time in my first app. The app has a chat function and I want to display videos in the chat dialog as well. But I would like to disable the standard download button, that is displayed when you click on menü button at the bottom right. Is this possible?

This is part of component repeated for every "tweet"

    <div *ngIf="tweet.attachment && tweet.attachment.type == 'video/mp4'">
      <app-aspect-ratio [ratio]="{w: 16, h: 9}">
      <vg-player>
        <video [vgMedia]="media" #media id="singleVideo" preload="auto" controls>
            <source [src]="tweet.attachment.source" [type]="tweet.attachment.type">
        </video>
      </vg-player>
      </app-aspect-ratio>
    </div>

Another question is related to the id. Can I use the same id, because each video is repeated in its own player? I am a bit confused about master and slave (https://videogular.github.io/ngx-videogular/docs/getting-started/master-media.html)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions