WIP
At the Early Stage of having a bezel preview for Color Vision.
WIP
At the Early Stage of having a bezel preview for Color Vision.
To those wondering how it would work, it is going to be simply the images stacked and a colored layer on top of the bezel.
The color of the bezel will be completely controlled through CSS. Thanks to kokoko3k because going through starting bezel colors his default worked the best, rgb(128, 128, 128).
The preview isnβt going to be exact but close enough to satisfy the naked eye.
<div class="preview-wrap">
<div class="preview-bezel">
<span class="bezel-color"></span>
<img src="assets/images/preview-mbz.png">
</div>
<img id="mbz-screen" src="assets/images/preview_mbz-screen.png">
<img id="mbz-bg" src="assets/images/preview_mbz-bg.png">
</div>
.preview-wrap img {
width: 100%;
height: 100%;
margin-left: 0;
position: absolute;
}
.preview-bezel {
width: 70% !important;
height: calc(100% - 20px) !important;
margin-left: 15% !important;
position: absolute;
z-index: 1;
margin-top: 10px;
}
// Color Block on Top of Bezel
.bezel-color {
background: #CF3311;
mix-blend-mode: overlay;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 1;
}
.preview-bezel img {
position: relative;
margin: -3px;
width: calc(100% + 6px);
height: calc(100% + 6px);
}
#mbz-screen {
width: 71%;
height: 93%;
z-index: 2;
top: 8px;
left: 56px;
}
#mbz-bg {
transform: scale(2.5);
}
The preview is essentially set I just have to piece it together in the appropriate files and add the functions that change the color.
I will be finishing it after Easter .
β Add Color Vision Preview
β Add Color Thief
β Change design of footer
β Click on color swatch to change color around image
β Once color is selected Color Vision will change to selected color
β Hover over the color swatch changes the color around the image as preview
β Once color has been clicked, press Shift over image card to activate hover again
β Drop Button removes image card
β Credits is self explanatory
β Popups show all available modal displays
β Settings holds Color Style and Colo(u)r spelling
β Add Twitch Playability
Note: If using the github site, create a blank file with a extension .twitch or download file from github
Brilliant! I wish I found out about this sooner.
Download
β Color Vision Preview
β All File Types to Load
β Color Thief
β Twitch Playability
β Cosmetics
β Instruction Card
β Errors
β Going to add the possible way of playing individual Twitch videos.
β It will work similar to youtube playability
Note: Just have to think of function and extension naming. The tab color will be lavender.
β Add Twitch Video Playability
β Change .twitch to .ttvl
β Fix Errors
https://www.twitch.tv/videos/2280614633
https://www.twitch.tv/videos/2160670345
β Add Twitch Channels into single file
β Add Youtube Single Link prompt
β Change Youtube extension from txt to yt
β I am going to be adding chat for Twitch Live playability only.
Note: It will be hidable and tab specific.
β Add Twitch Chat
Note: There could still be some bugs and channel points are not added.
Note 2: Chat has been added to main tabs only, not mini.
β Wanted to have folders for youtube and twitch files
β Each one will use a directory txt file and check that file for the appropriate directory
β The directory file is simply the only way to have the files in their own custom folders.
β Each ttv, ttvl, and yt file can only be loaded one at a time
Note: The directory file will need to be made by the user.
HCBailly
LetsPlay
Movies & TV
Music
NintendoCaprisun
OrionsAngel
Ray Narvaez Jr
if(links != "Playlist Example.yt" && links != "Video Link.yt"){
jQuery.get("youtube/directory.txt", function(data) {
data = data.trim().split("\n");
var http = new XMLHttpRequest();
if(data != ""){
for(i=0;i < data.length;i++){
var url = "youtube/"+data[i]+"/"+links
http.open('HEAD', url, false);
http.send();
if (http.status === 200) {
youtubePlay(url);
}
else{
console.clear();
}
}
}
});
}
else{
youtubePlay("youtube/"+links);
}
function youtubePlay(url){
jQuery.get(url, function(data) {
β Add Youtube custom folders
β Add Twitch Live and Video folders