I'm working with Visual Studio 2017, winjs project. How to use FilePicker to open file dialog and pick an audio file, then play that file? Thanks guys.
Winjs project - use File picker to select audio file and play it
143 views Asked by Mai Reynolds At
1
There are 1 answers
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in WIN-UNIVERSAL-APP
- uwp app only accepts input whenever i have opened on conhost/powershell/cmd
- Apryse PDFTron SetDoc method throws AccessViolationException
- How to create an audio fade in effect with UWP AudioGraph?
- System.IO.IOException when polling Siemens Logo device
- It is possible to launch uwp app without installing
- Why isn't my UWP ListView showing added items in Win-Universal-App using C#?
- Access Denied exception being thrown in UWP
- c# Windows Foundation why can't I draw a shape @ coordinates
- How to get a unique userid in Microsoft Store API
- How to hide elements and reserve its space in UWP
- How to change reveal effect color in button in UWP?
- API for Live Captions on Windows
- How to find user clicks on a link inside a PDF page
- Regarding Windows-universal-samples of Microsoft
- c# Universal Windows console App, Camera error "This object must be initialised... "
Related Questions in WINJS
- Override WinJS promises with native promises as a Chrome Extension content script?
- Debug WinJS application in production
- Winjs project - use File picker to select audio file and play it
- How to detect Xbox controller key press events in Windows 11 in Winjs UWP app?
- A WinJS SDK which breaks all jQuery plugins?
- How to enable Xbox One Developer Mode activation?
- how to run code when Microsoft toast notification button is pressed in javascript
- How to get Windows 10 version (e.g. 1809, 1903, 1909, ...) in a UWP app (C# or WinJS)?
- WinJS UWP javascript - how to read a file through a file input
- How much data can be in a LocalSettings container
- Generate PDF from HTML contents in Winjs
- UWP WebView third party Alternatives
- onpointercancel not triggered in Edge when user touches and scrolls the win-list item together
- UWP - Saving a png as jpg, I want the transparency to go White
- Saving a Canvas as an image in UWP
Related Questions in FILEOPENPICKER
- Using FilePicker in MAUI with admin privilege
- In VS Code how can I put the "Show Opened Editors" action on a keyboard shortcut?
- Cordova - how to open a downloaded file with app picker
- FileOpenPicker not working in C# on Windows 11 Desktop
- Python EasyGUI fileopenbox() filter more items
- Winjs project - use File picker to select audio file and play it
- Uwp MenuBaritem click event Makes nothing happen
- Show something other than, "All files" in a FileOpenPicker that isn't filtered to show all files
- System.Exception getting called when assessing OpenFilePicker on Hololens
- Using FileOpenPicker app contract Hololens 2 with Unity development
- can't use FileOpenPicker in uwp c# .net core, any alternative ways to upload pictures in uwp?
- How to display an image chosen by a file open picker in UWP C#?
- FileOpenPicker on HoloLens provides incomplete file from OneDrive
- How to import multiple files from a smartphone in a WPF app?
- Open multiple files by selecting single file in a sequence - Generate file name from multiple files
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You could use the Fileopenpicker in your JS code like this:
What you need is to change the file type to the target type you need.
There is a JS sample that you could directly refer to: FilePicker - JS.