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
140 Views Asked by Mai Reynolds At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in WIN-UNIVERSAL-APP
- Scroll view mistakes
- Application configuration files for Windows Universal app
- How can I implement the same models and data across ASP.NET and Windows Apps
- How to set data context of ViewModela View's xaml?
- Where do I call an async method from?
- Set parameter to notification
- How to stop credential caching on Windows.Web.Http.HttpClient?
- WinPhone 8.1 | Force xaml layout change
- Can't build JavaScript universal Windows app
- does not implement interface member IComponentConnector2
- VS2015 Universal APP - Could not load assembley (badimageformatexception)
- Get type programmatically and use it as a typeparam
- Multiple language support in Universal App
- Port windows phone 8.1 app to android
- Extraction PCM Data to generate Chromaprint fingerprint using AudioGraph on Windows 10 (UAP)
Related Questions in WINJS
- something stopped me in winJS
- Callback when WinJS bindings have been processed and rendered
- WinJS Issues | Windows 8.1 and Windows Phone
- How to change keyboard language programmatically in windows 8
- Windows Phone 8.1 WinJS Appbar disabled property not working
- Access is denied for WinJS.xhr Post?
- Apache Cordova backbutton event not fired on Windows Phone (universal)
- Winjs for windows 10 UWP APP
- Use SASS to generate CSS for Windows Store App Project?
- WinJS Custom Control Events "invalid argument"
- oniteminvoked not firing WinJS Listview
- Can I disable the screenshot option on the Windows 8 share bar?
- Cannot install VCD file UWP installCommandDefinitionsFromStorageFileAsync
- MobileServices.web.js unauthorized api call
- Jquery Not Working Windows Universal App
Related Questions in FILEOPENPICKER
- GetThumbnailAsync for files picked with FileOpenPicker in Windows Phone 8.1
- File Picker in Windows Phone 8.1 SilverLight
- FileOpenPicker throws UnauthorizedAccessException
- How to import multiple files from a smartphone in a WPF app?
- FileOpenPicker on HoloLens provides incomplete file from OneDrive
- Show something other than, "All files" in a FileOpenPicker that isn't filtered to show all files
- how to get Bytes of a file for sending in UWP?
- How to use or create android default fileopenpicker?
- MediaPlayer for WinPhone
- FileOpenPicker throws access denied exception when starting it from a tile rather than a button in Windows Phone 8.1 application
- When using FileOpenPicker, how to open the "Choose an app" screen like OneDrive app does?
- can't use FileOpenPicker in uwp c# .net core, any alternative ways to upload pictures in uwp?
- Using FileOpenPicker app contract Hololens 2 with Unity development
- Create a folder in LocalFolder of UWP and copy files to it
- Winjs project - use File picker to select audio file and play it
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)
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?
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.