Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How do i style a youtube live stream message?

$
0
0

Hi so i am manually inserting in my live stream using a node js googleapis/youtube package. The message shows as a plain text message, what i would like to know is how can i change the design of this text message so that it is more noticeable like maybe highlighting it? I am currently using the following code

const youtubeService = {};youtubeService.insertMessage = messageText => {console.log(myliveChatId);const response = youtube.liveChatMessages.insert({  auth: auth,  part: 'snippet',  resource: {    snippet: {      type: 'textMessageEvent',      liveChatId: myliveChatId,      textMessageDetails: {        messageText: 'hello man'      }     }    }   },   (error) => {      console.log(error);   }  );    console.log(response);  };

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>