adrianhajdin / aora

Build your first mobile application

Home Page:https://jsmastery.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while developing the VideoCard.jsx Component

Madhannmady07 opened this issue · comments

Everything going pretty good with this application, But at the time stamp of 2:40:36 , When i gave the same code as same him , at while supplying the video as parameter to the component , mainly while at the creator: {username, avatar} I was getting this below mentioned error . . . .

When I remove that particular part , ie thaat creator code part , the code works pretty fine . . .
img

can some one give me the reason , for what causes this error ? and help me to solve this error ?

maybe it is a typo error

Let us see your code

The "(creator: {username, avatar})" is not needed continue the code without it. This works fine const VideoCard = ({ title, creator, avatar, thumbnail, video })

maybe it is a typo error

Let us see your code

Screenshot 2024-04-21 190454

This is my code brothers . . . and @giannis198 , yeah even checked the final code which he had deployed . . in which these code doesnt took place..but while at this phase he is using it currently . . so im little bit confused to move forward . . .

Should I continue to code ? excluding that particular line ? need ur suggestion brothers

Go to appwrite check if you have set the relationship correctly on the videos attributes i.e. many-to-one. As the error suggest's username is 'undefined' so probably the issue is how you have set the attributes..

Go to appwrite check if you have set the relationship correctly on the videos attributes i.e. many-to-one. As the error suggest's username is 'undefined' so probably the issue is how you have set the attributes..

I checked that part too , everything was crct my frnd , I dont what to do now . .. .

maybe it is a typo error
Let us see your code

Screenshot 2024-04-21 190454

This is my code brothers . . . and @giannis198 , yeah even checked the final code which he had deployed . . in which these code doesnt took place..but while at this phase he is using it currently . . so im little bit confused to move forward . . .

Should I continue to code ? excluding that particular line ? need ur suggestion brothers

This what i did const VideoCard = ({ title, creator, avatar, thumbnail, video })
check it and do it accordingly

Go to appwrite check if you have set the relationship correctly on the videos attributes i.e. many-to-one. As the error suggest's username is 'undefined' so probably the issue is how you have set the attributes..

I checked that part too , everything was crct my frnd , I dont what to do now . .. .

Make sure the relationship between the video and the user is made well

Go to appwrite check if you have set the relationship correctly on the videos attributes i.e. many-to-one. As the error suggest's username is 'undefined' so probably the issue is how you have set the attributes..

I checked that part too , everything was crct my frnd , I dont what to do now . .. .

Have you confirmed if you have set it many-to-one or one-to-many..it should be many-to-one..

Are any of you using Android, as I'm experiencing a problem when I click on the search field. The buttomtab push up by the keyboard.I tried using keyboardavoiding view, but it still didn't work.
Thank You in advance!

maybe it is a typo error
Let us see your code

Screenshot 2024-04-21 190454
This is my code brothers . . . and @giannis198 , yeah even checked the final code which he had deployed . . in which these code doesnt took place..but while at this phase he is using it currently . . so im little bit confused to move forward . . .
Should I continue to code ? excluding that particular line ? need ur suggestion brothers

This what i did const VideoCard = ({ title, creator, avatar, thumbnail, video }) check it and do it accordingly

Ok let me try this for now and continue this, btw thank u for everyone , who had helped me throughout this process.

Go to appwrite check if you have set the relationship correctly on the videos attributes i.e. many-to-one. As the error suggest's username is 'undefined' so probably the issue is how you have set the attributes..

I checked that part too , everything was crct my frnd , I dont what to do now . .. .

Have you confirmed if you have set it many-to-one or one-to-many..it should be many-to-one..

Yeah I have made sure that it is "Many-to-one" , but still the error pops up,

ERROR

Video playback error: db.w0: None of the available extractors (c, d, b, g, k, b, a0, d, h0, e, h, b, e, f, b, a) could read the stream.

Error on horizontal video playing

did anyone face the problem before?