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

Audio file could not change when i change the src path #722

Closed
Kmg-Kumar opened this issue May 7, 2018 · 3 comments
Closed

Audio file could not change when i change the src path #722

Kmg-Kumar opened this issue May 7, 2018 · 3 comments

Comments

@Kmg-Kumar
Copy link

i have change the src file dynamically , src value change but the old audio could not rerender the new audio, this issue only happen in audio file only.

when i changed the src the current running audio should be re render.

If this is an issue, describe the actual behavior. If this is a feature, delete this block.

				<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="left" vgFormat="mm:ss"></vg-time-display>
				<vg-time-display vgProperty="total" vgFormat="mm:ss"></vg-time-display>

				<vg-mute></vg-mute>

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

			<audio #media [vgMedia]="media" id="myAudio" preload="auto">
				<source [src]="src" [type]="format">
			</audio>
		</vg-player>
@NikitaPooja
Copy link

Did you get answer to solve this problem ??

@Kmg-Kumar
Copy link
Author

Did you get answer to solve this problem ??

yes i got it.

@dineshmaths1
Copy link

dineshmaths1 commented May 7, 2020

I am facing same issue pls give me the solution

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

3 participants