#redirecting my domain to a yt vid

402 messages · Page 1 of 1 (latest)

lyric summit
#

i have my domain set up in cloudfare (with its nameservers) and i have the domain selected in the cloudflare dashboard, now i have no idea what to do (title)

#

im in the redirect/url forwarding rule and idk what to put/do

shrewd night
#

hi

lyric summit
#

hi

shrewd night
#

do you have some sort of advanced tab?

#

sorry i never used cf

#

you need a url redirect record

#

like here

lyric summit
shrewd night
shrewd night
lyric summit
#

now i have this

#

types are static and dynamic

shrewd night
#

hold on maybe try this

lyric summit
#

alr

obsidian oracle
lyric summit
shrewd night
#

true

#

it is confusing

obsidian oracle
obsidian oracle
lyric summit
#

do i just try to put the yt vid url in the "URL" value now? or

obsidian oracle
#

yes

lyric summit
#

k

#

going to the domain just shows this

obsidian oracle
#

might take a sec to update

#

what’s ur site

lyric summit
#

ava.rip

#

it just updated.

#

it worked

#

ty

shrewd night
#

👍

lyric summit
#

is there a way to make it not embed in discord

#

as the video itself

shrewd night
#

maybe just add robots.txt to it blocking discord bots

lyric summit
#

wdym

shrewd night
#

oh wait

#

i think you need to host a pge there for that

lyric summit
#

aw

#

sadge

shrewd night
#

maybe cf has anti bot scraping solution

#

or sometighng

lyric summit
#

what do bots have to do with it

shrewd night
#

discord bot visits the link

#

to get what metadata is there

#

and then display it as embed on discord

lyric summit
#

oh

#

do i need to have web hosting to stop that or?

#

is there a way to do it just with the domain

shrewd night
#

theres this stuff

#

but i havent found anything against embeds specifically

#

guess you need a site for that

lyric summit
#

sadge

shrewd night
#

maybe host a static page on github

#

then add your domain to that

#

so i just ran a quick test

lyric summit
#

if anyone sees this - i got the redirect but i wanna make it so only the domain shows when i send it on discord and not the yt vid embed

shrewd night
#

sorry got muted

#

tellinq came for rescue

#

i used a very popular ip saving solution

#

to "grab" discord bots user agent

#

you gotta make a robots.txt with that

User-agent: Discordbot/2.0
Disallow: /

User-agent: *
Allow: /
#

then you make a new github repo

lyric summit
shrewd night
#

nice

lyric summit
#

so what do i do step 1.

shrewd night
#

github repo

#

let me give an exmaple

obsidian oracle
shrewd night
#

itll get embeded still

lyric summit
#

js the domain

#

unless theres a free way to

#

host a site

shrewd night
#

use github pages

#

to host

#

free

obsidian oracle
#

cloudflare pages hosting is free

lyric summit
#

alr

shrewd night
obsidian oracle
#

id use it over github

shrewd night
#

yeah integration may be better there

#

but then i wont be able to provide an example

lyric summit
obsidian oracle
#

pages

#

yes

obsidian oracle
lyric summit
#

this one?

obsidian oracle
#

my site is hosted with cloudflare

obsidian oracle
lyric summit
#

k i need to create a github then rq

obsidian oracle
lyric summit
#

surely

shrewd night
#

probably

#

imo just block the discord

lyric summit
#

@obsidian oracle

#

no idea what to do from here

shrewd night
#

just fil the thing gang

lyric summit
#

i have brain damage

obsidian oracle
#

everything else u can leave blank for now since you’re not using a framework

lyric summit
#

there are no production branches.

obsidian oracle
obsidian oracle
#

oh

#

ur repo is empty

#

thats why

lyric summit
#

indeed.

#

and i have no idea what to do

obsidian oracle
#

tbh

#

well

#

do u want just the cat on ur website

#

or

#

do you want like an actual website

lyric summit
#

well my original plan was to just make it redirect to the youtube.com link but if i can make it from the actual ava.rip domain then that'd be better

obsidian oracle
#

u can do that but it’ll still embed

lyric summit
#

sure i guess

obsidian oracle
#

download the cat video and upload it to your ava repository on github titled just “cat.mp4” something like that

lyric summit
#

alr

#

done

obsidian oracle
#

also make an index.html

#

zixus i’m not home can u type out the thing to show the cat

shrewd night
#

whic

#

the

#

src img

#

=""

obsidian oracle
#

yes

shrewd night
#

but mp4

#

isa video

obsidian oracle
#

jus to have it show on the front page

shrewd night
#

i dont remember how to display videfo

#

but why rehost content

lyric summit
#

and upload it

shrewd night
#

when can just add cname redirect

#

and robots.txt

lyric summit
#

what is robots.txt

obsidian oracle
shrewd night
#

txt file that bots adhere

obsidian oracle
#

mhm

shrewd night
#

they first check it on whether or not theyre allowed to get the site contents

obsidian oracle
#

they totally listen to it….

lyric summit
#

it looks cool

shrewd night
#

especially my ultra ai scraper 30000

lyric summit
#

without the other ui youtube stuff

obsidian oracle
shrewd night
#

oh you wenat liek that

#

let me make you

obsidian oracle
#

i can’t type tht out on phone 😭

shrewd night
#

send your cat mp4

lyric summit
#

i changed it from the cat

#

sec

#

i have no ideas ill change it again later if i need to

shrewd night
#

do you need a border (frame) on it or something for more cool points

#

im a proffesional designer

lyric summit
#

if u can do that then sure

shrewd night
#

for cat videos

#

OPH WAIT

#

ive seen that cool tutorial

#

PLEASE LET ME DOTHAT

#

WITH CSS RULES

#

WHERE YOU DO LIKE SPOTLGITH GAUSIAN BLUR BG EFFECt

#

HELL YUEAHJ

lyric summit
#

!!!

lyric summit
shrewd night
#

oaky.

#

ive seen it on tiktok

#

need to do asap!!!

lyric summit
#

thats awesome.

#

sure ig

obsidian oracle
lyric summit
#

fr

lyric summit
#

im gonna turn into a spinning seal.

shrewd night
#

sory

#

video lags for some reason

#

im not sure if its because of my hwaccel

obsidian oracle
#

send the code

shrewd night
#

yeah thats because of debiation on blur

shrewd night
shrewd night
#

oh its not there

#

how sweet

lyric summit
#

how do i make the github site my domain tho

#

instead of (username).github.io

lyric summit
shrewd night
lyric summit
#

what browser is that

#

or is that mac

shrewd night
#

zen

lyric summit
#

oki

shrewd night
#

see documentation

lyric summit
#

i have no idea what this means

lyric summit
#

idk what that means either 😭

#

i have brain damage

obsidian oracle
shrewd night
#

name is your host

#

@

#

for root

lyric summit
#

oh ok

shrewd night
#

if you input someitnhg else

#

it will become your subdomain

lyric summit
#

should it be proxied?

shrewd night
#

yes

lyric summit
#

k

shrewd night
lyric summit
#

so like this?

shrewd night
#

yes

lyric summit
#

now i just wait for it to update?

shrewd night
#

you might also verify the domain

#

youd need to add a TXT record there afaik

lyric summit
#

yup

#

24 hours 😭

#

why is it so slow

shrewd night
#

usually its faster

#

but it wont be immediate in all countries

#

or more accurate to say for all dnses

#

if your dns is cf should be very fasy

lyric summit
#

it was instant.

#

still getting this tho

shrewd night
#

does check again work

#

because it did update already

lyric summit
#

gives me this at the top

shrewd night
#

meaning your domain doesnt ahve an ssl certificate

#

either buy one from cloudflare

#

or make a free one with letsencrypt cli tools

lyric summit
#

the original site i bought the domain from (porkbun) says it does

#

does it not migrate with cloudflare?

#

i originally switched to cloudflare to use the redirect rule

shrewd night
#

maybe try disabling cloudflare proxying

lyric summit
#

okay

shrewd night
#

or maybe its a github bug

#

because tha works just eprfectly

lyric summit
#

same error

#

should this be just ava.rip or something else aswell?

#

i could try switching back to porkbun original nameservers instead of using cloudflare

shrewd night
#

what happens if you remove and add it back

lyric summit
#

k

#

now i cant verify it even tho i added the txt record

shrewd night
#

because in porkbun you didint set the a records

lyric summit
#

true.

#

even with it same error

#

yeah idk what to do

#

ig ill try to wait

#

@shrewd night same thing 😭

#

with porkbun

#

i cant fix it

lyric summit
#

im so done

#

i added the a records and the cnames i tried everything

#

it just wont work

#

maybe its set up but its just showing like it isnt idfk

#

cuz it shows this when i go to it

#

im gonna lose it

obsidian oracle
#

i will help u when i get home on sunday and can access the puter

#

🙏

#

add me

lyric summit
#

ok

#

@obsidian oracle do yk how to embed the vid

#

maybe it does work but its just not showing

obsidian oracle
#

u need some meta tags

lyric summit
#

is that easy to do

obsidian oracle
#

top answer

#

add it to the top of ur index.html

lyric summit
#

i

#

what

#

i want the video to display when u go to the domain

#

not just embed it in discord

obsidian oracle
#

u would use dis

#
#

video tag

#

if u have trouble writing that out urself u can just ask chatgpt “index.html that displays a centered video”

lyric summit
#

now the entire domain is fucked

#

i am so cooked 💔

#

nvm its not

#

someone help me 😭

#

ive been on this for more than 15 mins

lyric summit
#

@shrewd night I GOT IT

#

the only problem now is that the cool css thing vid is laggy

#

if u can fix that then that'd be awesome

shrewd night
#

i know right

#

turns out svg filters are quite resource heavy

lyric summit
#

how do i make it so that if u click the video it wont pause/resume

shrewd night
#

remove controls

#

from video element

lyric summit
#

and how do i do that

#

lemme send u my current html

#

sec

lyric summit
#

is what i want

shrewd night
lyric summit
#

i used chatgpt for everything i have no idea what allat means 😭

#

i do want it to autoplay and loop tho

#

which it does rn

#

and is there a way to make it autoplay unmuted

#

if it autoplays it autoplays muted

#

so all i need is the video controls removed and making it not pause & resume when clicking the video

#

and if possible making it autoplay unmuted

#

@shrewd night if u can do all that and send me the updated html id appreciate it

lyric summit
#

trying to tell chatgpt to make it autoplay unmuted but it refuses

#

"However, please note that most modern browsers block autoplay with sound unless the user has interacted with the page or has explicitly allowed it. You can try to force it using JavaScript after user interaction."

obsidian oracle
lyric summit
#

aww

#

but how is that

#

ive seen multiple jumpscare websites that start with sound

#

like without clicking anything

obsidian oracle
#

they usually do smth like “click to enter” which counts as user interaction

lyric summit
#

could you help me do that?

#

so just a black screen with text in the center saying click to enter and then make it show the video after u click enter

obsidian oracle
#

needs some javascript

#

@shrewd night work ur magic 🧙

lyric summit
#

chatgpt is good until u hit the free plan cuz the newer one is limited for the free one

#

im telling it to make the text dissapear when clicking the video and it randomly changed the text to something else

#

its just doing shit im not even telling it to do

lyric summit
lyric summit
#

i deleted the mp4 in the github but the vid stil plays

#

wtf

obsidian oracle
#

cached

lyric summit
#

how do i

#

remove that

#

i wanna replace the vid

obsidian oracle
#

jus add a new one and it should fetch it

obsidian oracle
#

it’s gone for me

lyric summit
#

uploading the new one still displays the old one when i go to the site

#

going on a incognito works

obsidian oracle
#

it shows for me

#

the hello guys

lyric summit
#

ye

#

is that too loud

obsidian oracle
#

what browser are you using

lyric summit
#

opera

#

gx

obsidian oracle
#

if u press f12, go to application tab and click storage

#

there should be a clear data button

#

make sure u are on your sites page before doin this

#

and then it should fetch the new vid instead of using the cached one

lyric summit
#

f12 opens a random site from yt twitch or reddit

obsidian oracle
#

opera gx moment 😭

lyric summit
#

💀

obsidian oracle
#

lol wtf

lyric summit
#

panic mode closes all tabs and opens a random one

#

i wonder what thats for.

#

ill unbind it rq

#

f12 does nothing

obsidian oracle
#

try n press f5 while in ur site

lyric summit
#

still shows the old one

#

ill just use zen

#

is there a way to change the image and title of the taB

obsidian oracle
#

yes

#

change the title in ur html

#

from centered video to whatever u want

lyric summit
#

and the image?

obsidian oracle
#

as for that

lyric summit
#

so png > ico?

obsidian oracle
#

and then jus ask chatgpt to add the favicon code

obsidian oracle
lyric summit
#

ok

lyric summit
obsidian oracle
#

no jus tell it the name of the file

lyric summit
#

and upload the ico on github?

obsidian oracle
#

yes

lyric summit
#

its still default

#

nvm going to a incognito fixes it

#

is there really no way to clear the cache

#

nvm i did it

#

how do i decrease the volume

#

of the vid

#

nvm i just changed the actual vid volume and not the html

#

well ig this is done for now, thanks for the help yall

#

@shrewd night another (unrelated) thing, is there a way to make the tabs in zen be at the top and not on the left

shrewd night
#

there is

#

i need access to my computer to show you though

shrewd night
#

nvm i confused it with sideberry