Comments (3)
You can get your audio element from the page and call the play() method on it using JavaScript. Maybe in the window.onload event
from personalportfolio.
Error with windows.onload = function() {document.getElementById("audio").play();}
- uncaught in promise) domexception play() failed because the user didn't interact with the document
from personalportfolio.
Autoplay no longer desired to save time and to protect user experience (even though waves are more of a neutral sound, people might not enjoy it playing right away). Left autplay script embedded so that if user chooses to play sound, it can autplay if they ever return to the site, as per general autoplay policy changes.
from personalportfolio.
Related Issues (20)
- Make Resume Page Interactive HOT 1
- Alter Bootstrap Design Defaults 1
- Alter Bootstrap Design Defaults 2
- Alter Boostrap Design Defaults 3
- Choose Server Options for Publishing HOT 1
- Publish Site
- Create Octopus and Bubbles HOT 1
- Create Background Image for Whole Site HOT 1
- Website Needs to Load Content Dynamically
- Index.cshtml is Only Page that Does not Load Dynamically HOT 1
- 'Home' Tab Stay Highlighted on Every Page
- Create New favicon.ico for Website HOT 1
- Alter Audio Player Controls/Look
- Submit Button on Create.cshtml is Not Working Correctly
- Output Div on _Layout.cshtml Needs Max Size and Scrollbar
- Add Timestamp to Each Comment
- Comment Section Will Need Links for Pages
- Reformat Comment Section for Better Display
- Comments/Comment Errors Do Not Load Dynamically Once Submitted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from personalportfolio.