sp-dev-fx-webparts/samples/angular-media-recorder
Joseph Velliah f82957cc56 initial commit (#303) 2017-09-08 08:53:36 +03:00
..
assets initial commit (#303) 2017-09-08 08:53:36 +03:00
config initial commit (#303) 2017-09-08 08:53:36 +03:00
src/webparts/mediaRecorder initial commit (#303) 2017-09-08 08:53:36 +03:00
typings initial commit (#303) 2017-09-08 08:53:36 +03:00
README.md initial commit (#303) 2017-09-08 08:53:36 +03:00
gulpfile.js initial commit (#303) 2017-09-08 08:53:36 +03:00
package.json initial commit (#303) 2017-09-08 08:53:36 +03:00
tsconfig.json initial commit (#303) 2017-09-08 08:53:36 +03:00

README.md

Media Recorder

Summary

Sample SharePoint Framework client-side web part illustrating Video Recording using MediaRecorder Web API.

This is an experimental web part. Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes

Browser with MediaRecorder API support

Sample SharePoint Framework client-side web part illustrating Video Recording using MediaRecorder Web API

Browser without MediaRecorder API support

Sample SharePoint Framework client-side web part illustrating Video Recording using MediaRecorder Web API

Applies to

Solution

Solution Author(s)
angular-media-recorder Joseph Velliah (SPRIDER, @sprider)

Version history

Version Date Comments
1.0 September 04, 2017 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • clone this repo
  • go to the working directory of the webpart folder in the command line run:
    • npm and typings install
      • npm install @types/microsoft-ajax --save-dev
      • npm install @types/sharepoint --save-dev
      • npm install @types/angular --save-dev
    • gulp serve
  • Open the workbench page in a sharepoint site (https://{yoursiteurl}/_layouts/15/workbench.aspx)
  • add Media Recorder webpart and edit it
    • configure the library name where you would like to save the recording/input file.
    • start recording
    • allow camera and mic
    • stop recording
    • replay video
    • retry or upload the recorded video

Features

This project illustrates the following concepts:

  • Front/Back camera selection
  • Video recording using the supported browsers
  • File uploading option for the unsupported browsers
  • Playback recording
  • Upload files to document library