# I want to play a music on hover of an object but not repeat it

**URL:** <https://forum.wixstudio.com/t/i-want-to-play-a-music-on-hover-of-an-object-but-not-repeat-it/50257>\
**Category:** Ask the community\
**Created:** [January 7, 2022, 9:47am UTC](https://forum.wixstudio.com/t/i-want-to-play-a-music-on-hover-of-an-object-but-not-repeat-it/50257 "2022-01-07T09:47:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thisisarcbs](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/thisisarcbs/32/31007_2.png) [@thisisarcbs](https://forum.wixstudio.com/u/thisisarcbs)\
**Post date:** [January 7, 2022, 9:47am UTC](https://forum.wixstudio.com/t/i-want-to-play-a-music-on-hover-of-an-object-but-not-repeat-it/50257/1 "2022-01-07T09:47:17Z")

</div>

i want to play a music when I hover on a videobox and they can stop the music by closing the button ad the button disappears when they click it. but I have encountered an issue

export function videoBox1\_mouseIn ( event ) {  
$w ( “#music” ). play ();  
$w ( “#stopbutton” ). show ();

}

export function button19\_click ( event ) {  
$w ( “#music” ). stop ();  
$w ( “#stopbutton” ). hide ();  
}  
in preview mode when I tested it, after the music stops, it starts playing again. like this

[https://us1.discourse-cdn.com/wix/original/1X/a00b9931c08d82ab277a343834c6e19a16372e8e.mp4](https://us1.discourse-cdn.com/wix/original/1X/a00b9931c08d82ab277a343834c6e19a16372e8e.mp4)

the moment i click the stop music button then it again starts the music and the button appears again.

The thing I want is when we click the music stops and only starts when another button with label “Play Music” is clicked. until then, there’s no music. Anyone Please help me😅

---

<div class="post-metadata">

**Author:** ![krislewis323](https://avatars.discourse-cdn.com/v4/letter/k/b5ac83/32.png) [@krislewis323](https://forum.wixstudio.com/u/krislewis323)\
**Post date:** [March 1, 2023, 7:44am UTC](https://forum.wixstudio.com/t/i-want-to-play-a-music-on-hover-of-an-object-but-not-repeat-it/50257/2 "2023-03-01T07:44:07Z")

</div>

I have the same problem. Can anyone tell me [how to get more plays on soundcloud](https://promosoundgroup.net/collection/buy-music-promotion/buy-soundcloud-promotion/buy-soundcloud-plays/) ? I’ve heard about this possibility, but I don’t know how to implement it.

---

<div class="post-metadata">

**Author:** ![AndrewT](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/andrewt/32/32103_2.png) [@AndrewT](https://forum.wixstudio.com/u/AndrewT)\
**Post date:** [March 2, 2023, 7:20am UTC](https://forum.wixstudio.com/t/i-want-to-play-a-music-on-hover-of-an-object-but-not-repeat-it/50257/3 "2023-03-02T07:20:17Z")

</div>

with code related queries, the best option would be to ask on relevant forum, like our Velo forum: [https://community.wix.com/velo/forum](https://community.wix.com/velo/forum)
