Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Th-Barth opened this issue Jul 22, 2022 · 0 comments
Open

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

Th-Barth opened this issue Jul 22, 2022 · 0 comments

Comments

@Th-Barth
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant