Hugo YouTube Shortcode

Shortcodes in Hugo are basically chunks of HTML code that can be used in our content files. We can create our shortcode or use existing built-in shortcodes. For instance, to embed a YouTube video, we can use the built-in shortcode called youtube. Here is how to use the youtube shortcode: {{< youtube VIDEO-ID >}} or {{< youtube id="VIDEO-ID" >}} This will embed a responsive video player for the given YouTube video....

April 16, 2023 · 3 min · 520 words · Altynbek Usenbekov

How to Enable Impeller in Flutter

Impeller is a new rendering runtime for Flutter. It precompiles a smaller, simpler set of shaders at Engine build time so that they won’t be compiled while an app is running. It takes full advantage of modern hardware-accelerated graphics APIs such as Metal on iOS and Vulkan on Android. Running with Impeller You can run with Impeller by passing --enable-impeller to the flutter run command like this: flutter run --enable-impeller Enabling Impeller in Flutter Impeller is currently available for preview on iOS on the master channel....

April 13, 2023 · 1 min · 160 words · Altynbek Usenbekov

How to Change the Voice of SpeechSynthesis with JavaScript?

SpeechSynthesis is used to read text out loud on web browsers using JavaScript, provided that the browser supports Text-to-Speech. It is a component of the Web Speech API, which includes SpeechSynthesis (Text-to-Speech) and SpeechRecognition (Asynchronous Speech Recognition). How to change the voice Usually, platforms provide a list of voice options, and we can select one of those voices for the speech. The available voices may depend on the operating system and browser....

April 12, 2023 · 2 min · 286 words · Altynbek Usenbekov

Which Browsers Support Web Speech API's Text-to-Speech?

Here is a list of desktop and mobile browsers that support and do not support the Web Speech API's Text-to-Speech ( SpeechSynthesis) Component, and the versions when support began. Desktop browsers that support Chrome 33 (Released 2014-02-20) Edge 14 (Released 2016-08-02) Firefox 49 (Released 2016-09-20) Opera 21 (Released 2014-05-06) Safari 7 (Released 2013-10-22) Mobile browsers that support Chrome Android 33 (Released 2014-02-26) Firefox for Android 62 (Released 2018-09-05) Safari on iOS 7 (Released 2013-09-18) Samsung Internet 3....

April 12, 2023 · 1 min · 205 words · Altynbek Usenbekov

IETF BCP 47 Language Tags

BCP 47 Language Tags are codes used to identify human languages on the Internet. They're part of an Internet standard created by the IETF and maintained by the IANA Language Subtag Registry. These codes consist of different subtags such as language, region, variant and script, and are used to help identify spoken and written languages. Syntax A BCP 47 language tag consists of one or more subtags separated by hyphens (-)....

April 12, 2023 · 13 min · 2590 words · Altynbek Usenbekov