UNPKG

@huluvu424242/honey-slideshow

Version:

Text to Speech component wich is reading texts from DOM elements.

123 lines (76 loc) 3.65 kB
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/@huluvu424242/honey-slideshow) # honey-slideshow This component realize an slide show with speaker support by browser speaker api. ## installation npm install --save honey-slideshow ## usage ```html <script type="module" src="https://unpkg.com/@huluvu424242/honey-slideshow@0.0.6/dist/honey-slideshow/honey-slideshow.js"> </script> ``` [Vision of API (under construction)](src/components/honey-slideshow/readme.md) ## demo <!-- ``` <custom-element-demo> <template> <link rel="import" href="docs/index.html"> <next-code-block></next-code-block> </template> </custom-element-demo> ``` --> ```html <honey-slideshow id="slideshow1" baseurl="https://huluvu424242.github.io/foile-pile/ux/designrules/"> <p slot="title" class=".note">Sie sehen eine Präsentation über Steine</p> <!-- Dieser Slot dient nur dazu das Styling der Folien von außen per CSS beeinflussen zu können --> <div id="slidewin" slot="slide-area" class="slides meine tollen styles sind dabei"></div> </honey-slideshow> ``` Structure of [demo project](https://github.com/Huluvu424242/foile-pile/tree/master/explainations/ux/designrules). ![Folderstructure](./docs/img/FolderStructure.png) To the [live demo](https://huluvu424242.github.io/honey-slideshow/index.html) ## become an supporter 1. Fork it! 2. Create your feature branch: `git checkout -b my-new-feature` 3. Commit your changes: `git commit -am 'Add some feature'` 4. Push to the branch: `git push origin my-new-feature` 5. Submit a pull request :D ## releaselog ### v0.0.6 * [issue#44](https://github.com/Huluvu424242/honey-slideshow/issues/44) build single bundle (treeshakeable) * [issue#43](https://github.com/Huluvu424242/honey-slideshow/issues/43) code of conduct added * [issue#41](https://github.com/Huluvu424242/honey-slideshow/issues/41) axe tests prepared ### v0.0.5 - v0.0.6 at 2020-07-26 * [issue#49](https://github.com/Huluvu424242/honey-slideshow/issues/49) lodash secure issue fixed * github username changed from FunThomas424242 to Huluvu424242 -> fixed github upload issues for owned scope ### v0.0.4 at 2020-06-30 * [issue#16](https://github.com/Huluvu424242/honey-slideshow/issues/16) split of audio texts into 20 char pices is removed. * [issue#27](https://github.com/Huluvu424242/honey-slideshow/issues/27) load error of audio file response will be handled ### v0.0.3 at 2020-06-27 * build with nodejs 14.1.0 * upgrade to stencil 1.14.0 * [issue#35](https://github.com/Huluvu424242/honey-slideshow/issues/35) diasble autoplay * [issue#33](https://github.com/Huluvu424242/honey-slideshow/issues/33) clean up damaged repo ### v0.0.2 at 2020-06-10 * [issue#30](https://github.com/Huluvu424242/honey-slideshow/issues/30) foile link added * [issue#28](https://github.com/Huluvu424242/honey-slideshow/issues/28) baseurl for foile sources added ### v0.0.1 at 2020-05-31 * setup project based at https://github.com/Huluvu424242/honey-speech ## warranty no warranty ## license MIT License ## technology used * [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API) * [Custom Elements](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements) ## browser support ### Web Speech API Firefox Maybe you must via about:config set media.webspeech.synth.enabled to true Generell * [Can I use with browsers?](https://caniuse.com/#feat=speech-synthesis) ### Custom Elements * [Can I use with browsers?](https://caniuse.com/#feat=mdn-api_window_customelements)