question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vg-play-pause button does not show up

See original GitHub issue

Description

vg-play-pause button does not show up

Expected Behavior

vg-play-pause button should show up

Steps to Reproduce

` <vg-player (onPlayerReady)=“onPlayerReady($event)” *ngIf=“selectedVideoUrl”> <vg-buffering></vg-buffering>

  <vg-controls [vgAutohide]="true" [vgAutohideTime]="3">
      <vg-play-pause></vg-play-pause>
      <vg-playback-button></vg-playback-button>

      <vg-time-display vgProperty="current" vgFormat="mm:ss"></vg-time-display>

      <vg-scrub-bar>
          <vg-scrub-bar-current-time></vg-scrub-bar-current-time>
          <vg-scrub-bar-buffering-time></vg-scrub-bar-buffering-time>
      </vg-scrub-bar>

      <vg-time-display vgProperty="total" vgFormat="mm:ss"></vg-time-display>

      <vg-mute></vg-mute>
      <vg-volume></vg-volume>

      <vg-fullscreen></vg-fullscreen>
  </vg-controls>

  <video #myMedia [vgMedia]="myMedia" [src]="selectedVideoUrl" id="my-video" preload="auto" [controls]="controls">
  </video>

</vg-player>`

Attachments

Please see the attached screenshot. screen shot 2017-09-06 at 11 06 26 pm

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
devcercommented, Sep 7, 2017

<link rel="stylesheet" type="text/css" href="../node_modules/videogular2/fonts/videogular.css">

Did you linked this css file in your index.html?

0reactions
prachi1011-uicommented, Aug 8, 2019

Copied videogular font folder into your local folder and added style link in index.html , which solved the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SVG pause/play Can not figure out why this isn't working...?
When I attempt playback on Code pen, the SVG plays but buttons don't work. At all. I thought the "onclick" would do it...?...
Read more >
Make a Morphing Play-Pause Button for HTML5 Video with SVG
Therefore, making the play button in SVG means “hiding” the extra points needed for the pause state (8 points or more) inside the...
Read more >
Adding both play/pause svg to style - HTML & CSS - SitePoint
How do you double them up? <style> { .svg play, pause { position: absolute; width: 100px; height: 100px; top: 76px; left: 111px; } ......
Read more >
YouTube's new morphing play/pause SVG icon - gists · GitHub
YouTube's new morphing play/pause SVG icon. ... Define the icon path elements inside a defs element so that they are not drawn. ......
Read more >
Morphing play/pause icons not working - GSAP - GreenSock
I'm trying to create a morphing icon to overlay a video. It's partially working, the first time the video is paused it works...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found